media-library-wrapper.html.twig 538 B

123456789101112131415161718192021
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of a container used to wrap the media library's
  5. * modal dialog interface.
  6. *
  7. * Available variables:
  8. * - attributes: HTML attributes for the containing element.
  9. * - menu: The menu of availble media types to choose from.
  10. * - content: The form to add new media items, followed by the grid or table of
  11. * existing media items to choose from.
  12. *
  13. * @see template_preprocess_media_library_wrapper()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes }}>
  19. {{ menu }}
  20. {{ content }}
  21. </div>