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
MediaThumbnailFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Builds a renderable array for a field value.
MediaThumbnailFormatter::__construct function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Constructs a MediaThumbnailFormatter object.
MediaThumbnailFormatterTest class core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php @coversDefaultClass \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter
@group media
MediaThumbnailFormatterTest class core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php @covers \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter
MediaThumbnailFormatterTest.php file core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest.php file core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php The theme to install as the default for testing.
MediaThumbnailFormatterTest::$mediaFieldName property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test media reference field name.
MediaThumbnailFormatterTest::$modules property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Modules to install.
MediaThumbnailFormatterTest::$testEntityBundleId property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test entity bundle id.
MediaThumbnailFormatterTest::$testEntityTypeId property core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Test entity type id.
MediaThumbnailFormatterTest::changeMediaReferenceFieldLinkType function core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php Helper function to change field display.
MediaThumbnailFormatterTest::providerTestSettingsSummary function core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Data provider for testSettingsSummary().
MediaThumbnailFormatterTest::setUp function core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php
MediaThumbnailFormatterTest::testRender function core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php Tests the media thumbnail field formatter.
MediaThumbnailFormatterTest::testSettingsSummary function core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php Tests the settings summary.
MediaTranslationTest class core/modules/media/tests/src/Kernel/MediaTranslationTest.php Tests multilingual fields logic.
MediaTranslationTest.php file core/modules/media/tests/src/Kernel/MediaTranslationTest.php
MediaTranslationTest::$modules property core/modules/media/tests/src/Kernel/MediaTranslationTest.php Modules to install.
MediaTranslationTest::$testTranslationMediaType property core/modules/media/tests/src/Kernel/MediaTranslationTest.php The test media translation type.
MediaTranslationTest::setUp function core/modules/media/tests/src/Kernel/MediaTranslationTest.php
MediaTranslationTest::testTranslatableFieldSaveLoad function core/modules/media/tests/src/Kernel/MediaTranslationTest.php Tests translatable fields storage/retrieval.
MediaTranslationUITest class core/modules/media/tests/src/Functional/MediaTranslationUITest.php Tests the Media Translation UI.
MediaTranslationUITest.php file core/modules/media/tests/src/Functional/MediaTranslationUITest.php
MediaTranslationUITest::$defaultCacheContexts property core/modules/media/tests/src/Functional/MediaTranslationUITest.php Default cache contexts expected on a non-translated entity.
MediaTranslationUITest::$defaultTheme property core/modules/media/tests/src/Functional/MediaTranslationUITest.php The theme to install as the default for testing.
MediaTranslationUITest::$modules property core/modules/media/tests/src/Functional/MediaTranslationUITest.php Modules to install.
MediaTranslationUITest::getAdministratorPermissions function core/modules/media/tests/src/Functional/MediaTranslationUITest.php Returns an array of permissions needed for the administrator.
MediaTranslationUITest::getEditorPermissions function core/modules/media/tests/src/Functional/MediaTranslationUITest.php Returns an array of permissions needed for the editor.
MediaTranslationUITest::getNewEntityValues function core/modules/media/tests/src/Functional/MediaTranslationUITest.php Returns an array of entity field values to be tested.
MediaTranslationUITest::getTranslatorPermissions function core/modules/media/tests/src/Functional/MediaTranslationUITest.php Returns an array of permissions needed for the translator.
MediaTranslationUITest::setUp function core/modules/media/tests/src/Functional/MediaTranslationUITest.php
MediaTranslationUITest::setupBundle function core/modules/media/tests/src/Functional/MediaTranslationUITest.php Creates or initializes the bundle date if needed.
MediaType class core/modules/media/src/Entity/MediaType.php Defines the Media type configuration entity.
MediaType.php file core/modules/media/src/Entity/MediaType.php
MediaType::$description property core/modules/media/src/Entity/MediaType.php A brief description of this media type.
MediaType::$field_map property core/modules/media/src/Entity/MediaType.php The metadata field map.
MediaType::$id property core/modules/media/src/Entity/MediaType.php The machine name of this media type.
MediaType::$label property core/modules/media/src/Entity/MediaType.php The human-readable name of the media type.
MediaType::$new_revision property core/modules/media/src/Entity/MediaType.php Default value of the 'Create new revision' checkbox of this media type.
MediaType::$queue_thumbnail_downloads property core/modules/media/src/Entity/MediaType.php Whether thumbnail downloads are queued.
MediaType::$source property core/modules/media/src/Entity/MediaType.php The media source ID.
MediaType::$sourcePluginCollection property core/modules/media/src/Entity/MediaType.php Lazy collection for the media source.
MediaType::$source_configuration property core/modules/media/src/Entity/MediaType.php The media source configuration.
MediaType::$status property core/modules/media/src/Entity/MediaType.php Whether media items should be published by default.
MediaType::getDescription function core/modules/media/src/Entity/MediaType.php Gets the entity description.
MediaType::getFieldMap function core/modules/media/src/Entity/MediaType.php Returns the metadata field map.
MediaType::getPluginCollections function core/modules/media/src/Entity/MediaType.php
MediaType::getSource function core/modules/media/src/Entity/MediaType.php Returns the media source plugin.
MediaType::getStatus function core/modules/media/src/Entity/MediaType.php

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