Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MediaStandardProfileTest::testMediaSources | function | core/ |
Tests all media sources in one method. |
| MediaStandardProfileTest::videoTest | function | core/ |
Test the standard profile configuration for media type 'video'. |
| MediaStorage | class | core/ |
Defines the storage handler class for media. |
| MediaStorage.php | file | core/ |
|
| MediaStorage::save | function | core/ |
Saves the entity permanently. |
| MediaTemplateSuggestionsTest | class | core/ |
Tests media template suggestions. |
| MediaTemplateSuggestionsTest.php | file | core/ |
|
| MediaTemplateSuggestionsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MediaTemplateSuggestionsTest::$modules | property | core/ |
Modules to install. |
| MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions | function | core/ |
Tests template suggestions from media_theme_suggestions_media(). |
| MediaTest | class | core/ |
Tests Media. |
| MediaTest | class | core/ |
JSON:API integration test for the "Media" content entity type. |
| MediaTest.php | file | core/ |
|
| MediaTest.php | file | core/ |
|
| MediaTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MediaTest::$entity | property | core/ |
|
| MediaTest::$entityTypeId | property | core/ |
The tested entity type. |
| MediaTest::$modules | property | core/ |
Modules to enable. |
| MediaTest::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| MediaTest::$resourceTypeIsVersionable | property | core/ |
Whether the tested JSON:API resource is versionable. |
| MediaTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| MediaTest::createEntity | function | core/ |
Creates the entity to be tested. |
| MediaTest::doTestRelationshipMutation | function | core/ |
@todo Remove this in https://www.drupal.org/node/2824851. |
| 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. |
Pagination
- Previous page
- Page 925
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.