block-content-add-list.html.twig
Claro's theme implementation to display a list of content block types.
Available variables:
- bundles: List of blockcontent types, each with the following properties:
- label: Block content type label
- add_link: \Drupal\Core\Link link instance to create an entity of this block content type. This is a GeneratedLink originally and is switched by claro_preprocess_block_content_add_list().
- description: A description of this content block type.
 
@todo Revisit after https://www.drupal.org/node/3026221 has been solved.
Deprecated
in drupal:11.3.0 and is removed from drupal:12.0.0. Use entity_add_list instead.
See also
template_preprocess_block_content_add_list()
claro_preprocess_block_content_add_list()
https://www.drupal.org/node/3530643
File
- 
              core/themes/ claro/ templates/ block-content-add-list.html.twig 
View source
- {#
- /**
-  * @file
-  * Claro's theme implementation to display a list of content block types.
-  *
-  * Available variables:
-  * - bundles: List of blockcontent types, each with the following properties:
-  *   - label: Block content type label
-  *   - add_link: \Drupal\Core\Link link instance to create an entity of this
-  *     block content type. This is a GeneratedLink originally and is switched by
-  *     claro_preprocess_block_content_add_list().
-  *   - description: A description of this content block type.
-  *
-  * @todo Revisit after https://www.drupal.org/node/3026221 has been solved.
-  *
-  * @see template_preprocess_block_content_add_list()
-  * @see claro_preprocess_block_content_add_list()
-  *
-  * @deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Use entity_add_list instead.
-  *
-  * @see https://www.drupal.org/node/3530643
-  */
-  #}
- {% extends '@claro/entity-add-list.html.twig' %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
