media-library-wrapper--gin-lb.html.twig in Gin Layout Builder 1.0.x
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
File
templates/media-library/media-library-wrapper--gin-lb.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()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('media-library-wrapper') }}>
- {{ menu }}
- {{ content }}
- </div>