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 10.3.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
field.storage.media.field_media_image.yml file core/profiles/standard/config/optional/field.storage.media.field_media_image.yml core/profiles/standard/config/optional/field.storage.media.field_media_image.yml
field.storage.media.field_media_image.yml file core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml core/profiles/demo_umami/config/install/field.storage.media.field_media_image.yml
field.storage.media.field_media_oembed_video.yml file core/profiles/standard/config/optional/field.storage.media.field_media_oembed_video.yml core/profiles/standard/config/optional/field.storage.media.field_media_oembed_video.yml
field.storage.media.field_media_oembed_video.yml file core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml core/profiles/demo_umami/config/install/field.storage.media.field_media_oembed_video.yml
field.storage.media.field_media_oembed_video.yml file core/recipes/remote_video_media_type/config/field.storage.media.field_media_oembed_video.yml core/recipes/remote_video_media_type/config/field.storage.media.field_media_oembed_video.yml
field.storage.media.field_media_test.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test.yml
field.storage.media.field_media_test_1.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_1.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_1.yml
field.storage.media.field_media_test_image.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_image.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_image.yml
field.storage.media.field_media_test_oembed_video.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_oembed_video.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.media.field_media_test_oembed_video.yml
field.storage.media.field_media_video_file.yml file core/recipes/local_video_media_type/config/field.storage.media.field_media_video_file.yml core/recipes/local_video_media_type/config/field.storage.media.field_media_video_file.yml
field.storage.media.field_media_video_file.yml file core/profiles/standard/config/optional/field.storage.media.field_media_video_file.yml core/profiles/standard/config/optional/field.storage.media.field_media_video_file.yml
field.storage.media.field_media_video_file.yml file core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml core/profiles/demo_umami/config/install/field.storage.media.field_media_video_file.yml
field.storage.node.field_empty_types_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_empty_types_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_empty_types_media.yml
field.storage.node.field_media_image.yml file core/profiles/demo_umami/config/install/field.storage.node.field_media_image.yml core/profiles/demo_umami/config/install/field.storage.node.field_media_image.yml
field.storage.node.field_noadd_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_noadd_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_noadd_media.yml
field.storage.node.field_no_add_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_no_add_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_no_add_media.yml
field.storage.node.field_null_types_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_null_types_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_null_types_media.yml
field.storage.node.field_single_media_type.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_single_media_type.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_single_media_type.yml
field.storage.node.field_twin_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_twin_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_twin_media.yml
field.storage.node.field_unlimited_media.yml file core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_unlimited_media.yml core/modules/media_library/tests/modules/media_library_test/config/install/field.storage.node.field_unlimited_media.yml
fieldset--media-library-widget.html.twig file core/themes/claro/templates/media-library/fieldset--media-library-widget.html.twig Theme override for the media library widget.
FileAudioFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Gets the applicable media type for a formatter.
FileMediaFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Base class for media file formatter.
FileMediaFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
FileMediaFormatterBase::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Defines the default settings for this plugin.
FileMediaFormatterBase::getHtmlTag function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets the HTML tag for the formatter.
FileMediaFormatterBase::getSourceFiles function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets source files with attributes.
FileMediaFormatterBase::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns if the formatter can be used for the provided field.
FileMediaFormatterBase::mimeTypeApplies function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Check if given MIME type applies to the media type of the formatter.
FileMediaFormatterBase::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Prepare the attributes according to the settings.
FileMediaFormatterBase::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a form to configure settings for the formatter.
FileMediaFormatterBase::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a short summary for the current formatter settings.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileMediaFormatterInterface interface core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Defines getter methods for FileMediaFormatterBase.
FileMediaFormatterInterface.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php
FileMediaFormatterInterface::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Gets the applicable media type for a formatter.
FileMediaFormatterTestBase class core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Provides methods specifically for testing File module's media formatter's.
FileMediaFormatterTestBase.php file core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FileMediaFormatterTestBase::$modules property core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Modules to install.
FileMediaFormatterTestBase::createMediaField function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Creates a file field and set's the correct formatter.
FileMediaFormatterTestBase::dataProvider function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php Data provider for testRender.
FileMediaFormatterTestBase::setUp function core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
FileUploadForm::createMediaFromValue function core/modules/media_library/src/Form/FileUploadForm.php Creates a new, unsaved media item from a source field value.
FileUploadForm::getMediaType function core/modules/media_library/src/Form/FileUploadForm.php Get the media type from the form state.
FileUploadForm::prepareMediaEntityForSave function core/modules/media_library/src/Form/FileUploadForm.php Prepares a created media item to be permanently saved.
FileVideoFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileVideoFormatter.php Gets the applicable media type for a formatter.
hook_media_source_info_alter function core/modules/media/media.api.php Alters the information provided in \Drupal\media\Annotation\MediaSource.
image.style.media_library.yml file core/modules/media_library/config/install/image.style.media_library.yml core/modules/media_library/config/install/image.style.media_library.yml
InstallHelper::$mediaImageIdMap property core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Media Image CSV ID map.
InstallHelper::getMediaImageId function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Retrieves the Media Image ID of a media image saved during the import process.

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