badge.twig
Same filename in this branch
Same filename and directory in other branches
<div{{ attributes.addClass('toolbar-badge', 'toolbar-badge--' ~ status|default('info')) }}> {% block label %} {{ label }} {% endblock %} </div>
File
-
core/
modules/ navigation/ components/ badge/ badge.twig
View source
- <div{{ attributes.addClass('toolbar-badge', 'toolbar-badge--' ~ status|default('info')) }}>
- {% block label %}
- {{ label }}
- {% endblock %}
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.