W3cubDocs

/Drupal 8

node-add-list.html.twig

Default theme implementation to list node types available for adding content.

This list is displayed on the Add content admin page.

Available variables:

  • types: A list of content types, each with the following properties:
    • add_link: Link to create a piece of content of this type.
    • description: Description of this type of content.

See also

template_preprocess_node_add_list()

File

core/modules/node/templates/node-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!node!templates!node-add-list.html.twig/8.1.x