- Status changed to Fixed
almost 2 years ago 10:00pm 14 March 2023
We have some outdated Twig1 code:
templates/patterns/side_menu/pattern-side-menu.html.twig:{% import _self as menus %}
templates/patterns/side_menu/pattern-side-menu.html.twig: {% import _self as menus %}
templates/patterns/nav_menu/pattern-nav-menu.html.twig:{% import _self as menus %}
templates/patterns/nav_menu/pattern-nav-menu.html.twig: {% import _self as menus %}
templates/patterns/nav_menu/pattern-nav-menu.html.twig: {% import _self as menus %}
Since Twig 2, it is not necessary to import explicitly _self in variable :
{% macro item(whatever) %}...{% endmacro %}
{% import _self as pagination %}
{{ pagination.item(whatever) }}
Because it is now possible to call a macro directly from _self:
{% macro item(whatever) %}...{% endmacro %}
{{ _self.item(whatever) }}
Source : https://twig.symfony.com/doc/2.x/tags/macro.html
Remove "import _self as" tags
None because:
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.