entity-add-list.html.twig

Default theme implementation to present a list of available bundles.

Available variables:

  • bundles: A list of bundles, each with the following properties:
    • label: Bundle label.
    • description: Bundle description.
    • add_link: Link to create an entity of this bundle.
  • add_bundle_message: The message shown when there are no bundles. Only available if the entity type uses bundle entities.

See also

template_preprocess_entity_add_list()

File

core/modules/system/templates/entity-add-list.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.
doc_Drupal
2016-10-29 09:04:16
Comments
Leave a Comment

Please login to continue.