You are here

apigee-entity-list.html.twig in Apigee Edge 8

Default theme implementation to display a list of Apigee entities.

Available variables:

  • content: List of apigee entities.
  • view_mode: The view mode for the entities.
  • entity_type_id: The entity type id.

See also

template_preprocess_apigee_entities_list()

File

templates/apigee-entity-list.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a list of Apigee entities.
  5. *
  6. * Available variables:
  7. * - content: List of apigee entities.
  8. * - view_mode: The view mode for the entities.
  9. * - entity_type_id: The entity type id.
  10. *
  11. * @see template_preprocess_apigee_entities_list()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. {% set classes = [
  17. 'apigee-entity-list',
  18. 'apigee-entity-list--' ~ entity_type_id|clean_class,
  19. 'apigee-entity-list--' ~ view_mode|clean_class,
  20. ] %}
  21. <div {{ attributes.addClass(classes) }}>
  22. {{ content }}
  23. </div>