templates/platform/component/_template/_atom_wrapper.html.twig line 1

Open in your IDE?
  1. {% import "@component/_template/_html_macro.html.twig" as macros %}
  2. {% if atom_key is not defined %}
  3.     {% set atom_key = '' %}
  4. {% endif %}
  5. {% set atom_config = generateAtomOptions(value, atom_key) %}
  6. {% if canDisplayComponentByAcl( atom_config)  %}
  7.     {{ macros.generateHtmlComponentStart(atom_config) }}
  8.         {% block atom %}{% endblock atom %}
  9.     {{ macros.generateHtmlComponentEnd(atom_config) }}
  10. {% endif %}