Search for media

  1. Search 7.x for media
  2. Search 9.5.x for media
  3. Search 10.3.x for media
  4. Search 11.x for media
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Media class core/modules/media/src/Entity/Media.php Defines the media entity class.
Media class core/modules/media/src/Plugin/views/wizard/Media.php Provides Views creation wizard for Media.

All search results

Title Object type File name Summary
access_check.media.revision service core/modules/media/media.services.yml Drupal\media\Access\MediaRevisionAccessCheck
AddFormBase::$mediaType property core/modules/media_library/src/Form/AddFormBase.php The type of media items being created by this form.
AddFormBase::buildMediaLibraryUi function core/modules/media_library/src/Form/AddFormBase.php Build the render array of the media library UI.
AddFormBase::createMediaFromValue function core/modules/media_library/src/Form/AddFormBase.php Creates a new, unsaved media item from a source field value.
AddFormBase::getAddedMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all added media items from the form state.
AddFormBase::getCurrentMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all pre-selected and added media items from the form state.
AddFormBase::getMediaLibraryState function core/modules/media_library/src/Form/AddFormBase.php Get the media library state from the form state.
AddFormBase::getMediaType function core/modules/media_library/src/Form/AddFormBase.php Get the media type from the form state.
AddFormBase::getPreSelectedMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all pre-selected media items from the form state.
AddFormBase::prepareMediaEntityForSave function core/modules/media_library/src/Form/AddFormBase.php Prepares a created media item to be permanently saved.
AddFormBase::preRenderAddedMedia function core/modules/media_library/src/Form/AddFormBase.php Converts the set of newly added media into an item list for rendering.
AddFormBase::validateMediaEntity function core/modules/media_library/src/Form/AddFormBase.php Validate a created media item.
Breakpoint::getMediaQuery function core/modules/breakpoint/src/Breakpoint.php Returns the media query.
BreakpointInterface::getMediaQuery function core/modules/breakpoint/src/BreakpointInterface.php Returns the media query.
BreakpointTest::testGetMediaQuery function core/modules/breakpoint/tests/src/Unit/BreakpointTest.php @covers ::getMediaQuery
CacheableUnsupportedMediaTypeHttpException class core/lib/Drupal/Core/Http/Exception/CacheableUnsupportedMediaTypeHttpException.php A cacheable UnsupportedMediaTypeHttpException.
CacheableUnsupportedMediaTypeHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableUnsupportedMediaTypeHttpException.php
CacheableUnsupportedMediaTypeHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableUnsupportedMediaTypeHttpException.php
ckeditor.drupalmedia.css file core/modules/media/css/plugins/drupalmedia/ckeditor.drupalmedia.css Media embed: overrides to make focus styles and alignment work in CKEditor.
CKEditorIntegrationTest::$media property core/modules/media_library/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php The media item to embed.
CKEditorIntegrationTest::$media property core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php The sample Media entity to embed.
CKEditorIntegrationTest::getDrupalMediaFromSource function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Parses the <drupal-media> element from CKEditor's "source" view.
CKEditorIntegrationTest::testAllowedMediaTypes function core/modules/media_library/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Tests the allowed media types setting on the MediaEmbed filter.
CKEditorIntegrationTest::testOnlyDrupalMediaTagProcessed function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Tests that only <drupal-media> tags are processed.
claro_form_media_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
claro_form_media_library_add_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter().
claro_form_media_library_add_form_oembed_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_form_media_library_add_form_upload_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_preprocess_fieldset__media_library_widget function core/themes/claro/claro.theme @todo Remove this when https://www.drupal.org/project/drupal/issues/2999549
lands.
claro_preprocess_item_list__media_library_add_form_media_list function core/themes/claro/claro.theme Implements hook_preprocess_item_list__media_library_add_form_media_list().
claro_preprocess_media_library_item__small function core/themes/claro/claro.theme Implements hook_preprocess_media_library_item__small().
claro_preprocess_media_library_item__widget function core/themes/claro/claro.theme Implements hook_preprocess_media_library_item__widget().
claro_preprocess_views_view_fields__media_library function core/themes/claro/claro.theme Implements hook_preprocess_views_view_fields().
classy_preprocess_links__media_library_menu function core/themes/classy/classy.theme Implements hook_preprocess_links__media_library_menu().
container--media-library-content.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.
container--media-library-content.html.twig file core/themes/seven/templates/classy/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.
container--media-library-content.html.twig file core/themes/bartik/templates/classy/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.
container--media-library-content.html.twig file core/themes/claro/templates/classy/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.
container--media-library-content.html.twig file core/themes/classy/templates/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.
container--media-library-widget-selection.html.twig file core/themes/bartik/templates/classy/media-library/container--media-library-widget-selection.html.twig Theme implementation of a wrapper for selected media items.
container--media-library-widget-selection.html.twig file core/themes/classy/templates/media-library/container--media-library-widget-selection.html.twig Theme implementation of a wrapper for selected media items.
container--media-library-widget-selection.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/media-library/container--media-library-widget-selection.html.twig Theme implementation of a wrapper for selected media items.
container--media-library-widget-selection.html.twig file core/themes/claro/templates/classy/media-library/container--media-library-widget-selection.html.twig Theme implementation of a wrapper for selected media items.
container--media-library-widget-selection.html.twig file core/themes/seven/templates/classy/media-library/container--media-library-widget-selection.html.twig Theme implementation of a wrapper for selected media items.
ContentEntityTest::testMediaSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests media source plugin.
ContentModerationTest::assertAllMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts all media items are visible.
ContentModerationTest::assertOnlyPublishedMedia function core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php Asserts only published media items are visible.
core.entity_form_display.media.audio.default.yml file core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml core/profiles/demo_umami/config/install/core.entity_form_display.media.audio.default.yml
core.entity_form_display.media.audio.default.yml file core/profiles/standard/config/optional/core.entity_form_display.media.audio.default.yml core/profiles/standard/config/optional/core.entity_form_display.media.audio.default.yml
core.entity_form_display.media.audio.media_library.yml file core/profiles/standard/config/optional/core.entity_form_display.media.audio.media_library.yml core/profiles/standard/config/optional/core.entity_form_display.media.audio.media_library.yml

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.