Search for media
- Search 7.x for media
- Search 9.5.x for media
- Search 8.9.x for media
- Search 10.3.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. |
Media | class | core/ |
CKEditor 5 Media plugin. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
MediaTest::testConversion | function | core/ |
Tests that `<drupal-media>` is converted into a block element. |
MediaTest::testDrupalMedia | function | core/ |
Tests the drupal-media tag. |
MediaTest::testDrupalMediaStyleInDropdown | function | core/ |
Ensures that Drupal Media Styles can be displayed in a dropdown. |
MediaTest::testDrupalMediaStyleWithClass | function | core/ |
Tests Drupal Media Style with a CSS class. |
MediaTest::testEditableCaption | function | core/ |
Tests caption editing in the CKEditor widget. |
MediaTest::testEntity | function | core/ |
Tests various aspects of a media item. |
MediaTest::testMediaArbitraryHtml | function | core/ |
Tests that arbitrary attributes are allowed via GHS. |
MediaTest::testMediaSplitList | function | core/ |
Tests adding media to a list does not split the list. |
MediaTest::testNameBaseField | function | core/ |
Tests the Media "name" base field behavior. |
MediaTest::testOnlyDrupalMediaTagProcessed | function | core/ |
Tests that only <drupal-media> tags are processed. |
MediaTest::testPermissions | function | core/ |
Tests permissions based on a media type have the correct permissions. |
MediaTest::testTranslationAlt | function | core/ |
Tests the CKEditor 5 media plugin loads the translated alt attribute. |
MediaTest::testViewMode | function | core/ |
Tests view mode integration. |
MediaTestBase | class | core/ |
Base class for CKEditor 5 Media integration tests. |
MediaTestBase.php | file | core/ |
|
MediaTestBase::$adminUser | property | core/ |
The user to use during testing. |
MediaTestBase::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaTestBase::$host | property | core/ |
A host entity with a body field to embed media in. |
MediaTestBase::$media | property | core/ |
The sample Media entity to embed. |
MediaTestBase::$mediaFile | property | core/ |
The second sample Media entity to embed used in one of the tests. |
MediaTestBase::$modules | property | core/ |
Modules to install. |
MediaTestBase::assertSourceAttributeSame | function | core/ |
Verifies value of an attribute on the downcast <drupal-media> element. |
MediaTestBase::getLastPreviewRequestTransferSize | function | core/ |
Gets the transfer size of the last preview request. |
MediaTestBase::setUp | function | core/ |
|
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/ |
|
MediaTestEmbedHooks | class | core/ |
Hook implementations for media_test_embed. |
MediaTestEmbedHooks.php | file | core/ |
|
MediaTestEmbedHooks::entityAccess | function | core/ |
Implements hook_entity_access(). |
MediaTestEmbedHooks::entityViewAlter | function | core/ |
Implements hook_entity_view_alter(). |
MediaTestOembedHooks | class | core/ |
Hook implementations for media_test_oembed. |
MediaTestOembedHooks.php | file | core/ |
|
MediaTestOembedHooks::oembedResourceUrlAlter | function | core/ |
Implements hook_oembed_resource_url_alter(). |
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::checkAccess | function | core/ |
Checks access to the given entity. |
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. |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.