details--media-library-add-form-selected-media.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/seven/templates/media-library/details--media-library-add-form-selected-media.html.twig
- 9 core/themes/claro/templates/media-library/details--media-library-add-form-selected-media.html.twig
- 10 core/themes/claro/templates/media-library/details--media-library-add-form-selected-media.html.twig
- 11.x core/themes/claro/templates/media-library/details--media-library-add-form-selected-media.html.twig
Theme override for the "Additional selected media" area of the modal media library dialog.
Available variables
- attributes: A list of HTML attributes for the details element.
- errors: (optional) Any errors for this details element, may not be set.
- title: (optional) The title of the element, may not be set.
- summary_attributes: A list of HTML attributes for the summary element.
- description: (optional) The description of the element, may not be set.
- children: (optional) The children of the element, may not be set.
- value: (optional) The value of the element, may not be set.
See also
File
-
core/
themes/ seven/ templates/ media-library/ details--media-library-add-form-selected-media.html.twig
View source
- {% extends "details.html.twig" %}
- {#
- /**
- * @file
- * Theme override for the "Additional selected media" area of the modal media
- * library dialog.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the details element.
- * - errors: (optional) Any errors for this details element, may not be set.
- * - title: (optional) The title of the element, may not be set.
- * - summary_attributes: A list of HTML attributes for the summary element.
- * - description: (optional) The description of the element, may not be set.
- * - children: (optional) The children of the element, may not be set.
- * - value: (optional) The value of the element, may not be set.
- *
- * @see template_preprocess_details()
- */
- #}
- {% set attributes = attributes.addClass('media-library-add-form__selected-media seven-details') %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.