core/lib/Drupal/Core/Template/ThemeRegistryNodeVisitor.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/lib/Drupal/Core/Template/ThemeRegistryNodeVisitor.php b/core/lib/Drupal/Core/Template/ThemeRegistryNodeVisitor.php index 524df25..d4a537d 100644 --- a/core/lib/Drupal/Core/Template/ThemeRegistryNodeVisitor.php +++ b/core/lib/Drupal/Core/Template/ThemeRegistryNodeVisitor.php @@ -12,15 +12,13 @@ * * Only updates expressions like: * - {% extends "block.html.twig" %} - * - {% include "block.html.twig" %} * - {% extends "block--search-form-block.html.twig" %} - * - {% include "block--search-form-block.html.twig" %} * * Does not update expressions like: + * - {% extends "@stable/block.twig" %} * - {% extends "@stable/block--search-form-block.html.twig" %} - * - {% include "@stable/block--search-form-block.html.twig" %} + * - {% extends "path/to/block.html.twig" %} * - {% extends "path/to/block--search-form-block.html.twig" %} - * - {% include "path/to/block--search-form-block.html.twig" %} * * Ensures that a variant of a theme hook that extends the non-variant does not * skip the current theme's template: if a theme has