You are here

redhen-org-content-add-list.html.twig in RedHen CRM 8

Default theme implementation to present a list of custom content entity types/bundles.

Available variables:

  • types: A collection of all the available custom entity types/bundles. Each type/bundle contains the following:

    • link: A link to add a content entity of this type.
    • description: A description of this content entity types/bundle.

File

modules/redhen_org/templates/redhen-org-content-add-list.html.twig
View source
  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_redhen_org_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 %}