{# /** * @file * Default theme implementation for a paragraphs actions component. * * Available variables: * - actions - default actions, always visible and not in dropdown. * - dropdown_actions - actions for dropdown subcomponent. * * @see template_preprocess() * * @ingroup themeable */ #}
{{ actions }} {# We are still using access attribute on some places to disable dropdown actions and that is why we will first render dropdown_actions and then render dropdown subcomoponent if needed. #} {% set dropdown_actions_output = render_var(dropdown_actions) %} {% if dropdown_actions_output %}
{{ dropdown_actions_output }}
{% endif %}