Search for media
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::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/ |
|
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. |
MediaThumbnailFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
MediaThumbnailFormatter::__construct | function | core/ |
Constructs a MediaThumbnailFormatter object. |
MediaThumbnailFormatterTest | class | core/ |
@coversDefaultClass \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter @group media |
MediaThumbnailFormatterTest | class | core/ |
@covers \Drupal\media\Plugin\Field\FieldFormatter\MediaThumbnailFormatter |
MediaThumbnailFormatterTest.php | file | core/ |
|
MediaThumbnailFormatterTest.php | file | core/ |
|
MediaThumbnailFormatterTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaThumbnailFormatterTest::$mediaFieldName | property | core/ |
Test media reference field name. |
MediaThumbnailFormatterTest::$modules | property | core/ |
Modules to install. |
MediaThumbnailFormatterTest::$testEntityBundleId | property | core/ |
Test entity bundle id. |
MediaThumbnailFormatterTest::$testEntityTypeId | property | core/ |
Test entity type id. |
MediaThumbnailFormatterTest::changeMediaReferenceFieldLinkType | function | core/ |
Helper function to change field display. |
MediaThumbnailFormatterTest::providerTestSettingsSummary | function | core/ |
Data provider for testSettingsSummary(). |
MediaThumbnailFormatterTest::setUp | function | core/ |
|
MediaThumbnailFormatterTest::testRender | function | core/ |
Tests the media thumbnail field formatter. |
MediaThumbnailFormatterTest::testSettingsSummary | function | core/ |
Tests the settings summary. |
MediaTranslationTest | class | core/ |
Tests multilingual fields logic. |
MediaTranslationTest.php | file | core/ |
|
MediaTranslationTest::$modules | property | core/ |
Modules to install. |
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.