bundles/FoxHabbit/BasisBundle/Resources/views/Areas/basisbundle-topnav/nav-parts/nested-parts.html.twig line 1

Open in your IDE?
  1. {% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
  2. {% if not partConfig.require_page_property|default(false) or pageDocument.getProperty(partConfig.require_page_property) %}
  3. {{ wrap_macro.wrapperOpen( partConfig.wrapper, _context) }}
  4.     {% for subPartConfig in partConfig.parts %}
  5.         {% set template = subPartConfig.template %}
  6.         {% if not ( template starts with 'AppBundle' or template starts with '@App') %}
  7.             {% set template = '@FoxHabbitBasis/Areas/basisbundle-topnav/nav-parts/' ~ template ~ '.html.twig' %}
  8.         {% endif %}
  9.         {% include template with {
  10.                 pageDocument: pageDocument, navigation: navigation, partConfig: subPartConfig } %}
  11.     {% endfor %}
  12. {{ wrap_macro.wrapperClose( partConfig.wrapper, _context) }}
  13. {% endif %}