Search for media
- Search 7.x for media
- Search 8.9.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. |
| Media | class | core/ |
CKEditor 5 Media plugin. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| MediaTest::testAltDisabled | function | core/ |
Tests that the image media source's alt_field being disabled is respected. |
| MediaTest::testCollectionFilterAccess | function | core/ |
|
| MediaTest::testConversion | function | core/ |
Tests that `<drupal-media>` is converted into a block element. |
| MediaTest::testDialogAccess | function | core/ |
Tests the EditorMediaDialog's form elements' #access logic. |
| 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::testEditableCaption | function | core/ |
Tests caption editing in the CKEditor widget. |
| MediaTest::testEmbedPreviewAccess | function | core/ |
Tests preview route access. |
| MediaTest::testEmbedPreviewAccess | function | core/ |
Tests preview route access. |
| MediaTest::testEntity | function | core/ |
Tests various aspects of a media item. |
| MediaTest::testErrorMessages | function | core/ |
Tests that failed media embed preview requests inform the end user. |
| MediaTest::testErrorMessages | function | core/ |
Tests that failed media embed preview requests inform the end user. |
| MediaTest::testLinkability | function | core/ |
Tests linkability of the media CKEditor widget. |
| MediaTest::testLinkability | function | core/ |
Tests linkability of the CKEditor widget. |
| MediaTest::testLinkedMediaArbitraryHtml | function | core/ |
Ensures arbitrary attributes can be added on links wrapping media via GHS. |
| MediaTest::testLinkManualDecorator | function | core/ |
Ensure that manual link decorators work with linkable media. |
| MediaTest::testMediaArbitraryHtml | function | core/ |
Tests that arbitrary attributes are allowed via GHS. |
| MediaTest::testNameBaseField | function | core/ |
Tests the Media "name" base field behavior. |
| MediaTest::testOnlyDrupalMediaTagProcessed | function | core/ |
Tests that only <drupal-media> tags are processed. |
| 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::testPostIndividual | function | core/ |
Tests POSTing an individual resource, plus edge cases to ensure good DX. |
| MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable | function | core/ |
The CKEditor Widget must load a preview generated using the default theme. |
| MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable | function | core/ |
The CKEditor Widget must load a preview generated using the default theme. |
| MediaTest::testTranslationAlt | function | core/ |
Tests the CKEditor 5 media plugin loads the translated alt attribute. |
| MediaTest::testTranslationAlt | function | core/ |
Tests that dialog loads appropriate translation's alt text. |
| MediaTest::testViewMode | function | core/ |
Tests view mode integration. |
| MediaTest::testViewMode | function | core/ |
Tests the EditorMediaDialog can set the data-view-mode attribute. |
| MediaTest::waitForMetadataDialog | function | core/ |
Waits for the form that allows editing metadata. |
| 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. |
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.