You are here

details--media-library-add-form-selected-media.html.twig in Media Library Theme Reset 8

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.

File

templates/details--media-library-add-form-selected-media.html.twig
View source
  1. {% extends "details.html.twig" %}
  2. {#
  3. /**
  4. * @file
  5. * Theme override for the "Additional selected media" area of the modal media
  6. * library dialog.
  7. *
  8. * Available variables
  9. * - attributes: A list of HTML attributes for the details element.
  10. * - errors: (optional) Any errors for this details element, may not be set.
  11. * - title: (optional) The title of the element, may not be set.
  12. * - summary_attributes: A list of HTML attributes for the summary element.
  13. * - description: (optional) The description of the element, may not be set.
  14. * - children: (optional) The children of the element, may not be set.
  15. * - value: (optional) The value of the element, may not be set.
  16. *
  17. * @see template_preprocess_details()
  18. */
  19. #}
  20. {% set attributes = attributes.addClass('media-library-add-form__selected-media seven-details') %}