4 * Default theme implementation for a paragraphs actions component.
7 * - actions - default actions, always visible and not in dropdown.
8 * - dropdown_actions - actions for dropdown subcomponent.
10 * @see template_preprocess()
15 <div class="paragraphs-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 }}