{% set layer = requested_action_service.getLayer()%}

{% include "element/link/_layer_create_link.html.twig" with {'layer':layer} %} {% if entity is defined%} :{% include "element/link/_layer_read_link.html.twig" with {'id':entity.getId(),'layer':layer,'slug':((entity.hasSlug() is defined and entity.hasSlug())?entity.getSlug():null)} %} {% endif %}

{% include "element/breadcrumb/_layer_breadcrumb.html.twig" %} {% if action_template_data_store_service.getAllStoredData().count() > 0 %}
{% set aria_expanded = 'true' %} {% for action in layer_action_map.getActions(layer) %} {% if action_template_data_store_service.isDataStored(action) %} {{ action_template_name_service.setActionType(action) }}
{% include [action_template_name_service.getAtomTemplateName(),'entity/_entity_'~action~'.html.twig'] %}
{% set aria_expanded = 'false' %} {% endif %} {% endfor %}
{% else %} {% endif %}