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 |
---|---|---|---|
MediaLibraryTestBase::pressInsertSelected | function | core/ |
Presses the modal's "Insert selected" button. |
MediaLibraryTestBase::pressSaveButton | function | core/ |
Clicks "Save" button and waits for AJAX completion. |
MediaLibraryTestBase::saveAnd | function | core/ |
Clicks "Save and select||insert" button and waits for AJAX completion. |
MediaLibraryTestBase::selectMediaItem | function | core/ |
Selects an item in the media library modal. |
MediaLibraryTestBase::switchToMediaLibraryGrid | function | core/ |
Switches to the grid display of the widget view. |
MediaLibraryTestBase::switchToMediaLibraryTable | function | core/ |
Switches to the table display of the widget view. |
MediaLibraryTestBase::switchToMediaType | function | core/ |
Clicks a media type tab and waits for it to appear. |
MediaLibraryTestBase::waitForElementsCount | function | core/ |
Checks for a specified number of specific elements on page after wait. |
MediaLibraryTestBase::waitForElementTextContains | function | core/ |
Asserts that text appears in an element after a wait. |
MediaLibraryTestBase::waitForFieldExists | function | core/ |
Checks for the existence of a field on page after wait. |
MediaLibraryTestBase::waitForNoText | function | core/ |
Asserts that text does not appear on page after a wait. |
MediaLibraryTestBase::waitForText | function | core/ |
Asserts that text appears on page after a wait. |
MediaLibraryUiBuilder | class | core/ |
Service which builds the media library. |
MediaLibraryUiBuilder.php | file | core/ |
|
MediaLibraryUiBuilder::$entityTypeManager | property | core/ |
The entity type manager. |
MediaLibraryUiBuilder::$formBuilder | property | core/ |
The form builder. |
MediaLibraryUiBuilder::$openerResolver | property | core/ |
The media library opener resolver. |
MediaLibraryUiBuilder::$request | property | core/ |
The currently active request object. |
MediaLibraryUiBuilder::$viewsExecutableFactory | property | core/ |
The views executable factory. |
MediaLibraryUiBuilder::buildLibraryContent | function | core/ |
Build the media library content area. |
MediaLibraryUiBuilder::buildMediaLibraryView | function | core/ |
Get the media library view. |
MediaLibraryUiBuilder::buildMediaTypeAddForm | function | core/ |
Get the add form for the selected media type. |
MediaLibraryUiBuilder::buildMediaTypeMenu | function | core/ |
Get the media type menu for the media library. |
MediaLibraryUiBuilder::buildUi | function | core/ |
Build the media library UI. |
MediaLibraryUiBuilder::checkAccess | function | core/ |
Check access to the media library. |
MediaLibraryUiBuilder::dialogOptions | function | core/ |
Get media library dialog options. |
MediaLibraryUiBuilder::__construct | function | core/ |
Constructs a MediaLibraryUiBuilder instance. |
MediaLibraryWidget | class | core/ |
Plugin implementation of the 'media_library_widget' widget. |
MediaLibraryWidget.php | file | core/ |
|
MediaLibraryWidget::$currentUser | property | core/ |
The current active user. |
MediaLibraryWidget::$entityTypeManager | property | core/ |
Entity type manager service. |
MediaLibraryWidget::$moduleHandler | property | core/ |
The module handler. |
MediaLibraryWidget::addItems | function | core/ |
Updates the field state and flags the form for rebuild. |
MediaLibraryWidget::create | function | core/ |
Creates an instance of the plugin. |
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. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.