Search for media
- Search 7.x for media
- Search 9.5.x for media
- Search 10.3.x for media
- Search 11.x for media
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Media | class | core/ |
Defines the media entity class. |
| Media | class | core/ |
Provides Views creation wizard for Media. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| MediaTest::getEditorialPermissions | function | core/ |
Gets an array of permissions required to view and update any tested entity. |
| MediaTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| MediaTest::getExpectedGetRelationshipDocumentData | function | core/ |
Gets the expected document data for the given relationship. |
| MediaTest::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
| MediaTest::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| MediaTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| MediaTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| MediaTest::setUpRevisionAuthorization | function | core/ |
Sets up the necessary authorization for handling revisions. |
| MediaTest::testCollectionFilterAccess | function | core/ |
|
| MediaTest::testEntity | function | core/ |
Tests various aspects of a media item. |
| MediaTest::testGetCurrentUserId | function | core/ |
Tests the legacy method used as the default entity owner. |
| MediaTest::testNameBaseField | function | core/ |
Tests the Media "name" base field behavior. |
| MediaTest::testPostIndividual | function | core/ |
Tests POSTing an individual resource, plus edge cases to ensure good DX. |
| MediaTestConstraint | class | core/ |
A media test constraint. |
| MediaTestConstraint.php | file | core/ |
|
| MediaTestConstraint::$message | property | core/ |
The default violation message. |
| MediaTestConstraintValidator | class | core/ |
Validates the MediaTestConstraint. |
| MediaTestConstraintValidator.php | file | core/ |
|
| MediaTestConstraintValidator::validate | function | core/ |
|
| MediaTestOembedServiceProvider | class | core/ |
Replaces oEmbed-related media services with testing versions. |
| MediaTestOembedServiceProvider.php | file | core/ |
|
| MediaTestOembedServiceProvider::alter | function | core/ |
Modifies existing service definitions. |
| MediaThumbnailFormatter | class | core/ |
Plugin implementation of the 'media_thumbnail' formatter. |
| MediaThumbnailFormatter.php | file | core/ |
|
| MediaThumbnailFormatter::$renderer | property | core/ |
The renderer service. |
| MediaThumbnailFormatter::create | function | core/ |
Creates an instance of the plugin. |
| MediaThumbnailFormatter::getMediaThumbnailUrl | function | core/ |
Get the URL for the media thumbnail. |
| MediaThumbnailFormatter::isApplicable | function | core/ |
Returns if the formatter can be used for the provided field. |
| MediaThumbnailFormatter::needsEntityLoad | function | core/ |
This has to be overridden because FileFormatterBase expects $item to be of type \Drupal\file\Plugin\Field\FieldType\FileItem and calls isDisplayed() which is not in FieldItemInterface. |
| MediaThumbnailFormatter::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
| MediaThumbnailFormatter::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
| MediaThumbnailFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
| MediaThumbnailFormatter::__construct | function | core/ |
Constructs an MediaThumbnailFormatter object. |
| MediaTranslationTest | class | core/ |
Tests multilanguage fields logic. |
| MediaTranslationTest.php | file | core/ |
|
| MediaTranslationTest::$modules | property | core/ |
Modules to install. |
| MediaTranslationTest::$testTranslationMediaType | property | core/ |
The test media translation type. |
| MediaTranslationTest::setUp | function | core/ |
|
| MediaTranslationTest::testTranslatableFieldSaveLoad | function | core/ |
Test translatable fields storage/retrieval. |
| MediaTranslationUITest | class | core/ |
Tests the Media Translation UI. |
| MediaTranslationUITest.php | file | core/ |
|
| MediaTranslationUITest::$defaultCacheContexts | property | core/ |
{inheritdoc} |
| MediaTranslationUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MediaTranslationUITest::$modules | property | core/ |
{inheritdoc} |
| MediaTranslationUITest::getAdministratorPermissions | function | core/ |
Returns an array of permissions needed for the administrator. |
| MediaTranslationUITest::getEditorPermissions | function | core/ |
Returns an array of permissions needed for the editor. |
| MediaTranslationUITest::getNewEntityValues | function | core/ |
Returns an array of entity field values to be tested. |
| MediaTranslationUITest::getTranslatorPermissions | function | core/ |
Returns an array of permissions needed for the translator. |
| MediaTranslationUITest::setUp | function | core/ |
|
| MediaTranslationUITest::setupBundle | function | core/ |
Creates or initializes the bundle date if needed. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.