It looks like that the content discoverable by inspecting TWIG variables in Drupal is associated to the "active" theme despite the template file being loaded by the parent theme.
In the screenshot above, the output comes from a template that lives on the parent theme nihod5, yet it is associated to the subtheme
nihod5__subtheme_test.
It looks like that the content discoverable by inspecting TWIG variables in Drupal is associated to the "active" theme despite the template file being loaded by the parent theme.
In the screenshot above, the output comes from a template that lives on the parent theme
nihod5,
yet it is associated to the subthemenihod5__subtheme_test
.Is this a bug? Closest issue: https://www.drupal.org/project/drupal/issues/3049414
This is a problem when trying to output a TWIG variable without knowing the active theme name.