media-library-wrapper.html.twig in Drupal 10
Same filename in this branch
- 10 core/modules/media_library/templates/media-library-wrapper.html.twig
- 10 core/themes/starterkit_theme/templates/media-library/media-library-wrapper.html.twig
- 10 core/themes/classy/templates/media-library/media-library-wrapper.html.twig
- 10 core/themes/stable9/templates/media-library/media-library-wrapper.html.twig
- 10 core/themes/stable/templates/media-library/media-library-wrapper.html.twig
- 10 core/themes/claro/templates/classy/media-library/media-library-wrapper.html.twig
- 10 core/themes/seven/templates/classy/media-library/media-library-wrapper.html.twig
- 10 core/themes/bartik/templates/classy/media-library/media-library-wrapper.html.twig
- 10 core/profiles/demo_umami/themes/umami/templates/classy/media-library/media-library-wrapper.html.twig
Same filename and directory in other branches
Theme override 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 available 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
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/themes/stable/templates/media-library/media-library-wrapper.html.twigView source
- {#
- /**
- * @file
- * Theme override 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 available 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()
- */
- #}
- <div{{ attributes }}>
- {{ menu }}
- {{ content }}
- </div>