breadcrumb.html.twig
Theme override for a breadcrumb trail.
Available variables:
- breadcrumb: Breadcrumb trail items.
 
3 theme calls to breadcrumb.html.twig
- Breadcrumb::toRenderable in core/
lib/ Drupal/ Core/ Breadcrumb/ Breadcrumb.php  - Returns a render array representation of the object.
 - ForumTest::verifyForums in core/
modules/ forum/ tests/ src/ Functional/ ForumTest.php  - Verifies that the logged in user has access to a forum node.
 - ForumTest::verifyForumView in core/
modules/ forum/ tests/ src/ Functional/ ForumTest.php  - Verifies the display of a forum page.
 
File
- 
              core/
themes/ stable/ templates/ navigation/ breadcrumb.html.twig  
View source
- {#
 - /**
 -  * @file
 -  * Theme override for a breadcrumb trail.
 -  *
 -  * Available variables:
 -  * - breadcrumb: Breadcrumb trail items.
 -  */
 - #}
 - {% if breadcrumb %}
 -   <nav role="navigation" aria-labelledby="system-breadcrumb">
 -     <h2 id="system-breadcrumb" class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
 -     <ol>
 -     {% for item in breadcrumb %}
 -       <li>
 -         {% if item.url %}
 -           <a href="{{ item.url }}">{{ item.text }}</a>
 -         {% else %}
 -           {{ item.text }}
 -         {% endif %}
 -       </li>
 -     {% endfor %}
 -     </ol>
 -   </nav>
 - {% endif %}
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.