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 |
---|---|---|---|
MediaLibraryWidget::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
MediaLibraryWidget::errorElement | function | core/ |
Assigns a field-level validation error to the right widget sub-element. |
MediaLibraryWidget::extractFormValues | function | core/ |
Extracts field values from submitted form values. |
MediaLibraryWidget::form | function | core/ |
Creates a form element for a field. |
MediaLibraryWidget::formElement | function | core/ |
Returns the form for a single field widget. |
MediaLibraryWidget::getAllowedMediaTypeIdsSorted | function | core/ |
Gets the enabled media type IDs sorted by weight. |
MediaLibraryWidget::getFieldState | function | core/ |
Gets the field state for the widget. |
MediaLibraryWidget::getNewMediaItems | function | core/ |
Gets newly selected media items. |
MediaLibraryWidget::getNoMediaTypesAvailableMessage | function | core/ |
Gets the message to display when there are no allowed media types. |
MediaLibraryWidget::isApplicable | function | core/ |
Returns if the widget can be used for the provided field. |
MediaLibraryWidget::massageFormValues | function | core/ |
Massages the form values into the format expected for field values. |
MediaLibraryWidget::openMediaLibrary | function | core/ |
AJAX callback to open the library modal. |
MediaLibraryWidget::preRenderWidget | function | core/ |
Prepares the widget's render element for rendering. |
MediaLibraryWidget::removeItem | function | core/ |
Submit callback for remove buttons. |
MediaLibraryWidget::setFieldState | function | core/ |
Sets the field state for the widget. |
MediaLibraryWidget::setMediaTypesValue | function | core/ |
Value callback to optimize the way the media type weights are stored. |
MediaLibraryWidget::settingsForm | function | core/ |
Returns a form to configure settings for the widget. |
MediaLibraryWidget::settingsSummary | function | core/ |
Returns a short summary for the current widget settings. |
MediaLibraryWidget::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
MediaLibraryWidget::updateWidget | function | core/ |
AJAX callback to update the widget when the selection changes. |
MediaLibraryWidget::validateItems | function | core/ |
Validates that newly selected items can be added to the widget. |
MediaLibraryWidget::validateRequired | function | core/ |
Validates whether the widget is required and contains values. |
MediaLibraryWidget::__construct | function | core/ |
Constructs a MediaLibraryWidget widget. |
MediaLibraryWidgetTest | class | core/ |
Tests the media library widget. |
MediaLibraryWidgetTest.php | file | core/ |
|
MediaLibraryWidgetTest::$adminUser | property | core/ |
An admin user. |
MediaLibraryWidgetTest::$baseField | property | core/ |
The base field definition. |
MediaLibraryWidgetTest::$modules | property | core/ |
Modules to install. |
MediaLibraryWidgetTest::assertMediaLibraryStateAccess | function | core/ |
Assert if the given user has access to the given state. |
MediaLibraryWidgetTest::buildWidgetForm | function | core/ |
Build the media library widget form. |
MediaLibraryWidgetTest::setUp | function | core/ |
|
MediaLibraryWidgetTest::testRevisionableWidgetAccess | function | core/ |
Test the media library widget access with a revisionable entity type. |
MediaLibraryWidgetTest::testWidgetAccess | function | core/ |
Test the media library widget access. |
MediaLinkabilityTest | class | core/ |
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media @group ckeditor5 @group #slow @internal |
MediaLinkabilityTest.php | file | core/ |
|
MediaLinkabilityTest::providerLinkability | function | core/ |
|
MediaLinkabilityTest::testLinkability | function | core/ |
Tests linkability of the media CKEditor widget. |
MediaLinkabilityTest::testLinkedMediaArbitraryHtml | function | core/ |
Ensures arbitrary attributes can be added on links wrapping media via GHS. |
MediaLinkabilityTest::testLinkManualDecorator | function | core/ |
Ensure that manual link decorators work with linkable media. |
MediaLinkRelationsTest | class | core/ |
Tests link relationships for media items. |
MediaLinkRelationsTest.php | file | core/ |
|
MediaLinkRelationsTest::testExistLinkRelationships | function | core/ |
Tests that all link relationships for Media exist. |
MediaListBuilder | class | core/ |
Provides a listing of media items. |
MediaListBuilder.php | file | core/ |
|
MediaListBuilder::$dateFormatter | property | core/ |
The date formatter service. |
MediaListBuilder::$languageManager | property | core/ |
The language manager service. |
MediaListBuilder::$thumbnailStyleExists | property | core/ |
Indicates whether the 'thumbnail' image style exists. |
MediaListBuilder::buildHeader | function | core/ |
Builds the header row for the entity listing. |
MediaListBuilder::buildRow | function | core/ |
Builds a row for an entity in the entity listing. |
MediaListBuilder::createInstance | function | core/ |
Instantiates a new instance of this entity handler. |
Pagination
- Previous page
- Page 17
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.