annotate core/themes/classy/templates/form/dropbutton-wrapper.html.twig @ 11:bfffd8d7479a

Move drupal/core from "replace" to "require" section, to ensure Composer updates it
author Chris Cannam
date Fri, 23 Feb 2018 15:51:18 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 {#
Chris@0 2 /**
Chris@0 3 * @file
Chris@0 4 * Theme override for a dropbutton wrapper.
Chris@0 5 *
Chris@0 6 * Available variables:
Chris@0 7 * - children: Contains the child elements of the dropbutton menu.
Chris@0 8 *
Chris@0 9 * @see template_preprocess()
Chris@0 10 */
Chris@0 11 #}
Chris@0 12 {% if children %}
Chris@0 13 {% spaceless %}
Chris@0 14 <div class="dropbutton-wrapper">
Chris@0 15 <div class="dropbutton-widget">
Chris@0 16 {{ children }}
Chris@0 17 </div>
Chris@0 18 </div>
Chris@0 19 {% endspaceless %}
Chris@0 20 {% endif %}