Search for library
- Search 7.x for library
- Search 9.5.x for library
- Search 8.9.x for library
- Search 10.3.x for library
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MediaLibraryState::getCacheTags | function | core/ |
The cache tags associated with this object. |
MediaLibraryState::getHash | function | core/ |
Get the hash for the state object. |
MediaLibraryState::getOpenerId | function | core/ |
Returns the ID of the media library opener service. |
MediaLibraryState::getOpenerParameters | function | core/ |
Returns all opener-specific parameter values. |
MediaLibraryState::getSelectedTypeId | function | core/ |
Returns the selected media type. |
MediaLibraryState::hasSlotsAvailable | function | core/ |
Determines if additional media items can be selected. |
MediaLibraryState::isValidHash | function | core/ |
Validate a hash for the state object. |
MediaLibraryState::validateRequiredParameters | function | core/ |
Validates the required parameters for a new MediaLibraryState object. |
MediaLibraryState::__construct | function | core/ |
|
MediaLibraryStateTest | class | core/ |
Tests the media library state value object. |
MediaLibraryStateTest.php | file | core/ |
|
MediaLibraryStateTest::$modules | property | core/ |
Modules to install. |
MediaLibraryStateTest::providerCreate | function | core/ |
Data provider for testCreate(). |
MediaLibraryStateTest::providerFromRequest | function | core/ |
Data provider for testFromRequest(). |
MediaLibraryStateTest::setUp | function | core/ |
|
MediaLibraryStateTest::testCreate | function | core/ |
Tests the media library state creation. |
MediaLibraryStateTest::testFromRequest | function | core/ |
Tests the hash validation when the state is created from a request. |
MediaLibraryStateTest::testFromRequestQueryLess | function | core/ |
@covers ::fromRequest |
MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder | function | core/ |
Tests that hash is unaffected by allowed media type order. |
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder | function | core/ |
Tests that hash is unaffected by opener parameter order. |
MediaLibraryStateTest::testMethods | function | core/ |
Tests the media library state methods. |
MediaLibraryStateTest::testOpenerParameters | function | core/ |
@covers ::getOpenerParameters |
MediaLibraryTest | class | core/ |
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\MediaLibrary @group ckeditor5 @internal |
MediaLibraryTest.php | file | core/ |
|
MediaLibraryTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaLibraryTest::$media | property | core/ |
The media item to embed. |
MediaLibraryTest::$modules | property | core/ |
Modules to install. |
MediaLibraryTest::$user | property | core/ |
The user to use during testing. |
MediaLibraryTest::setUp | function | core/ |
|
MediaLibraryTest::testAllowedMediaTypes | function | core/ |
Tests the allowed media types setting on the MediaEmbed filter. |
MediaLibraryTest::testAlt | function | core/ |
Ensures that alt text can be changed on Media Library inserted Media. |
MediaLibraryTest::testButton | function | core/ |
Tests using drupalMedia button to embed media into CKEditor 5. |
MediaLibraryTestBase | class | core/ |
Base class for functional tests of Media Library functionality. |
MediaLibraryTestBase.php | file | core/ |
|
MediaLibraryTestBase::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaLibraryTestBase::$modules | property | core/ |
Modules to install. |
MediaLibraryTestBase::addMediaFileToField | function | core/ |
Waits for a file field to exist before uploading. |
MediaLibraryTestBase::assertAnnounceContains | function | core/ |
Checks for inclusion of text in #drupal-live-announce. |
MediaLibraryTestBase::assertElementExistsAfterWait | function | core/ |
Waits for the specified selector and returns it if not empty. |
MediaLibraryTestBase::assertMediaAdded | function | core/ |
Asserts a media item was added, but not yet saved. |
MediaLibraryTestBase::assertMediaLibraryGrid | function | core/ |
Asserts that the grid display of the widget view is visible. |
MediaLibraryTestBase::assertMediaLibraryTable | function | core/ |
Asserts that the table display of the widget view is visible. |
MediaLibraryTestBase::assertNoMediaAdded | function | core/ |
Asserts that media was not added, i.e. due to a validation error. |
MediaLibraryTestBase::assertSelectedMediaCount | function | core/ |
Asserts the current text of the selected item counter. |
MediaLibraryTestBase::createMediaItems | function | core/ |
Create media items. |
MediaLibraryTestBase::deselectMediaItem | function | core/ |
De-selects an item in the media library modal. |
MediaLibraryTestBase::getCheckboxes | function | core/ |
Gets all available media item checkboxes. |
MediaLibraryTestBase::getSelectionArea | function | core/ |
Gets the "Additional selected media" area after adding new media. |
MediaLibraryTestBase::getTypesMenu | function | core/ |
Gets the menu of available media types. |
MediaLibraryTestBase::openMediaLibraryForField | function | core/ |
Clicks a button that opens a media widget and confirms it is open. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.