Search for media

  1. Search 7.x for media
  2. Search 9.5.x for media
  3. Search 8.9.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.
Media class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php CKEditor 5 Media plugin.

All search results

Title Object type File name Summary
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::getSelectedMediaItemCount function core/modules/media_library/src/Form/AddFormBase.php Get the number of selected media.
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
CKEditor5AllowedTagsTest::testMediaElementAllowedTags function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php Test that <drupal-media> is added to allowed tags when media embed enabled.
CKEditor5MediaAndFilterSettingsInSyncConstraint class core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php Ensure CKEditor 5 media plugin's and media filter's settings are in sync.
CKEditor5MediaAndFilterSettingsInSyncConstraint.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php
CKEditor5MediaAndFilterSettingsInSyncConstraint::$message property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php The default violation message.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php CKEditor 5 Media plugin in sync with the filter settings validator.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::$filterPluginManager property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php The filter plugin manager service.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::$typedConfigManager property core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php The typed config manager service.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php Instantiates a new instance of this class.
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::__construct function core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php Constructs a new CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.
CKEditor5MediaController class core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Provides an API for checking if a media entity has image field.
CKEditor5MediaController.php file core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php
CKEditor5MediaController::$currentUser property core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php The currently authenticated user.
CKEditor5MediaController::$entityRepository property core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php The entity repository.
CKEditor5MediaController::$requestStack property core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php The request stack.
CKEditor5MediaController::access function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Additional access check for ::isMediaImage().
CKEditor5MediaController::getMediaImageSourceFieldName function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Gets the name of an image media item's source field.
CKEditor5MediaController::mediaEntityMetadata function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Returns JSON response containing metadata about media entity.
CKEditor5MediaController::__construct function core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php Constructs a new CKEditor5MediaController.
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_links__media_library_menu function core/themes/claro/claro.theme Implements hook_preprocess_links__media_library_menu().
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().
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/claro/templates/classy/media-library/container--media-library-content.html.twig Theme implementation the content area of the modal media library dialog.

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