media-library-wrapper.html.twig
Same filename in this branch
- 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/media-library/media-library-wrapper.html.twig
- 8.9.x core/themes/seven/templates/classy/media-library/media-library-wrapper.html.twig
- 8.9.x core/themes/claro/templates/classy/media-library/media-library-wrapper.html.twig
- 8.9.x core/themes/bartik/templates/classy/media-library/media-library-wrapper.html.twig
- 8.9.x core/themes/stable/templates/media-library/media-library-wrapper.html.twig
- 8.9.x core/themes/classy/templates/media-library/media-library-wrapper.html.twig
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/templates/classy/media-library/media-library-wrapper.html.twig
- 9 core/themes/stable9/templates/media-library/media-library-wrapper.html.twig
- 9 core/themes/seven/templates/classy/media-library/media-library-wrapper.html.twig
- 9 core/themes/claro/templates/classy/media-library/media-library-wrapper.html.twig
- 9 core/themes/bartik/templates/classy/media-library/media-library-wrapper.html.twig
- 9 core/themes/stable/templates/media-library/media-library-wrapper.html.twig
- 9 core/themes/classy/templates/media-library/media-library-wrapper.html.twig
- 9 core/modules/media_library/templates/media-library-wrapper.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/classy/media-library/media-library-wrapper.html.twig
- 10 core/themes/stable9/templates/media-library/media-library-wrapper.html.twig
- 10 core/themes/claro/templates/classy/media-library/media-library-wrapper.html.twig
- 10 core/modules/media_library/templates/media-library-wrapper.html.twig
- 11.x core/profiles/demo_umami/themes/umami/templates/classy/media-library/media-library-wrapper.html.twig
- 11.x core/themes/stable9/templates/media-library/media-library-wrapper.html.twig
- 11.x core/themes/claro/templates/classy/media-library/media-library-wrapper.html.twig
- 11.x core/modules/media_library/templates/media-library-wrapper.html.twig
Default theme implementation of a container used to wrap the media library's modal dialog interface.
Available variables:
- attributes: HTML attributes for the containing element.
- menu: The menu of availble media types to choose from.
- content: The form to add new media items, followed by the grid or table of existing media items to choose from.
See also
template_preprocess_media_library_wrapper()
1 theme call to media-library-wrapper.html.twig
- MediaLibraryUiBuilder::buildUi in core/
modules/ media_library/ src/ MediaLibraryUiBuilder.php - Build the media library UI.
File
-
core/
modules/ media_library/ templates/ media-library-wrapper.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation of a container used to wrap the media library's
- * modal dialog interface.
- *
- * Available variables:
- * - attributes: HTML attributes for the containing element.
- * - menu: The menu of availble media types to choose from.
- * - content: The form to add new media items, followed by the grid or table of
- * existing media items to choose from.
- *
- * @see template_preprocess_media_library_wrapper()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes }}>
- {{ menu }}
- {{ content }}
- </div>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.