Upgraded imagemagick and manually altered pdf to image module to handle changes....
[yaffs-website] / web / modules / contrib / paragraphs / templates / paragraphs-actions.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for a paragraphs actions component.
5  *
6  * Available variables:
7  * - actions - default actions, always visible and not in dropdown.
8  * - dropdown_actions - actions for dropdown subcomponent.
9  *
10  * @see template_preprocess()
11  *
12  * @ingroup themeable
13  */
14 #}
15 <div class="paragraphs-actions">
16   {{ actions }}
17   {# We are still using access attribute on some places to disable dropdown
18      actions and that is why we will first render dropdown_actions and then
19      render dropdown subcomoponent if needed. #}
20   {% set dropdown_actions_output = render_var(dropdown_actions) %}
21   {% if dropdown_actions_output %}
22     <div class="paragraphs-dropdown">
23       <button class="paragraphs-dropdown-toggle"><span class="visually-hidden">{% trans %}Toggle Actions{% endtrans %}</span></button>
24       <div class="paragraphs-dropdown-actions">
25         {{ dropdown_actions_output }}
26       </div>
27     </div>
28   {% endif %}
29 </div>