status-content-add-list.html.twig 598 B

1234567891011121314151617181920212223
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to present a list of custom content entity types/bundles.
  5. *
  6. * Available variables:
  7. * - types: A collection of all the available custom entity types/bundles.
  8. * Each type/bundle contains the following:
  9. * - link: A link to add a content entity of this type.
  10. * - description: A description of this content entity types/bundle.
  11. *
  12. * @see template_preprocess_status_content_add_list()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {% spaceless %}
  18. <dl>
  19. {% for type in types %}
  20. <dt>{{ type.link }}</dt>
  21. {% endfor %}
  22. </dl>
  23. {% endspaceless %}