{# /** * @file * Default theme implementation to display wizard tree. * * Available variables: * - step: The current step name. * - tree: A nested list of menu items. Each menu item contains: * - title: The menu link title. * - url: The menu link url, instance of \Drupal\Core\Url * - children: The menu item child items. * - step: The name of the step. * * @ingroup themeable */ #} {{ attach_library('page_manager_ui/page_variants') }} {% import _self as page_manager %} {# We call a macro which calls itself to render the full tree. @see http://twig.sensiolabs.org/doc/tags/macro.html #} {{ page_manager.wizard_tree(tree, step, 0) }} {% macro wizard_tree(items, step, menu_level) %} {% import _self as page_manager %} {% if items %}
{% endif %} {% endmacro %}