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()
1 theme call to apigee-entity-list.html.twig
- ApigeeEntityListElement::getInfo in src/
Element/ ApigeeEntityListElement.php - Returns the element properties for this element.
File
templates/apigee-entity-list.html.twigView source
- {#
- /**
- * @file
- * 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 template_preprocess_apigee_entities_list()
- *
- * @ingroup themeable
- */
- #}
- {% set classes = [
- 'apigee-entity-list',
- 'apigee-entity-list--' ~ entity_type_id|clean_class,
- 'apigee-entity-list--' ~ view_mode|clean_class,
- ] %}
-
- <div {{ attributes.addClass(classes) }}>
- {{ content }}
- </div>