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
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_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/seven/templates/media-library/fieldset--media-library-widget.html.twig Theme override for the media library widget.
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 enable.
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.
InstallHelper::saveMediaImageId function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Saves a Media Image ID generated when saving a media image.
item-list--media-library-add-form-media-list.html.twig file core/themes/seven/templates/media-library/item-list--media-library-add-form-media-list.html.twig Theme override for a list of new, unsaved media items being added in the
modal media library dialog.
item-list--media-library-add-form-media-list.html.twig file core/themes/claro/templates/media-library/item-list--media-library-add-form-media-list.html.twig Theme override for a list of new, unsaved media items being added in the
modal media library dialog.
jsonapi_jsonapi_media_filter_access function core/modules/jsonapi/jsonapi.module Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'media'.
language.content_settings.media.image.yml file core/profiles/demo_umami/config/install/language.content_settings.media.image.yml core/profiles/demo_umami/config/install/language.content_settings.media.image.yml
links--media-library-menu.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.
links--media-library-menu.html.twig file core/themes/seven/templates/classy/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.
links--media-library-menu.html.twig file core/themes/claro/templates/classy/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.
links--media-library-menu.html.twig file core/themes/bartik/templates/classy/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.
links--media-library-menu.html.twig file core/themes/classy/templates/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.
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 Library Architecture group core/modules/media_library/media_library.api.php Media Library is a UI for the core Media module. It provides a visual
interface for users to manage media in their site, and it allows authors to
visually select media for use in entity reference and text fields, using a
modal dialog.
media--media-library.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/media-library/media--media-library.html.twig Theme override of a media item in the media library.

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