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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!entity-add-list.html.twig/8.1.x