| MediaLibraryThemeHooks::preprocessMedia |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Implements hook_preprocess_media(). |
| MediaLibraryThemeHooks::preprocessMediaLibraryItem |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Prepares variables for a selected media item. |
| MediaLibraryThemeHooks::preprocessMediaLibraryWrapper |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Prepares variables for the media library modal dialog. |
| MediaLibraryThemeHooks::preprocessViewsViewFields |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Implements hook_preprocess_views_view_fields(). |
| MediaLibraryThemeHooks::preprocessViewsViewMediaLibrary |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Implements hook_preprocess_HOOK() for the 'media_library' view. |
| MediaLibraryThemeHooks::theme |
function |
core/modules/media_library/src/Hook/MediaLibraryThemeHooks.php |
Implements hook_theme(). |
| MediaLibraryUiBuilder |
class |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Service which builds the media library. |
| MediaLibraryUiBuilder.php |
file |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
|
| MediaLibraryUiBuilder::$entityTypeManager |
property |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
The entity type manager. |
| MediaLibraryUiBuilder::$formBuilder |
property |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
The form builder. |
| MediaLibraryUiBuilder::$openerResolver |
property |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
The media library opener resolver. |
| MediaLibraryUiBuilder::$request |
property |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
The currently active request object. |
| MediaLibraryUiBuilder::$viewsExecutableFactory |
property |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
The views executable factory. |
| MediaLibraryUiBuilder::buildLibraryContent |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Build the media library content area. |
| MediaLibraryUiBuilder::buildMediaLibraryView |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Get the media library view. |
| MediaLibraryUiBuilder::buildMediaTypeAddForm |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Get the add form for the selected media type. |
| MediaLibraryUiBuilder::buildMediaTypeMenu |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Get the media type menu for the media library. |
| MediaLibraryUiBuilder::buildUi |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Build the media library UI. |
| MediaLibraryUiBuilder::checkAccess |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Check access to the media library. |
| MediaLibraryUiBuilder::dialogOptions |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Get media library dialog options. |
| MediaLibraryUiBuilder::__construct |
function |
core/modules/media_library/src/MediaLibraryUiBuilder.php |
Constructs a MediaLibraryUiBuilder instance. |
| MediaLibraryViewsHooks |
class |
core/modules/media_library/src/Hook/MediaLibraryViewsHooks.php |
Hook implementations for media_library. |
| MediaLibraryViewsHooks.php |
file |
core/modules/media_library/src/Hook/MediaLibraryViewsHooks.php |
|
| MediaLibraryViewsHooks::viewsData |
function |
core/modules/media_library/src/Hook/MediaLibraryViewsHooks.php |
Implements hook_views_data(). |
| MediaLibraryWidget |
class |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Plugin implementation of the 'media_library_widget' widget. |
| MediaLibraryWidget.php |
file |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
|
| MediaLibraryWidget::$currentUser |
property |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
The current active user. |
| MediaLibraryWidget::$entityTypeManager |
property |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Entity type manager service. |
| MediaLibraryWidget::$moduleHandler |
property |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
The module handler. |
| MediaLibraryWidget::addItems |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Updates the field state and flags the form for rebuild. |
| MediaLibraryWidget::create |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Instantiates a new instance of the implementing class using autowiring. |
| MediaLibraryWidget::defaultSettings |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Defines the default settings for this plugin. |
| MediaLibraryWidget::errorElement |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Assigns a field-level validation error to the right widget sub-element. |
| MediaLibraryWidget::extractFormValues |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Extracts field values from submitted form values. |
| MediaLibraryWidget::form |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Creates a form element for a field. |
| MediaLibraryWidget::formElement |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Returns the form for a single field widget. |
| MediaLibraryWidget::getAllowedMediaTypeIdsSorted |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets the enabled media type IDs sorted by weight. |
| MediaLibraryWidget::getFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets the field state for the widget. |
| MediaLibraryWidget::getNewMediaItems |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets newly selected media items. |
| MediaLibraryWidget::getNoMediaTypesAvailableMessage |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets the message to display when there are no allowed media types. |
| MediaLibraryWidget::isApplicable |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Returns if the widget can be used for the provided field. |
| MediaLibraryWidget::massageFormValues |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Massages the form values into the format expected for field values. |
| MediaLibraryWidget::openMediaLibrary |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
AJAX callback to open the library modal. |
| MediaLibraryWidget::preRenderWidget |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Prepares the widget's render element for rendering. |
| MediaLibraryWidget::removeItem |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Submit callback for remove buttons. |
| MediaLibraryWidget::setFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Sets the field state for the widget. |
| MediaLibraryWidget::setMediaTypesValue |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Value callback to optimize the way the media type weights are stored. |
| MediaLibraryWidget::settingsForm |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Returns a form to configure settings for the widget. |
| MediaLibraryWidget::settingsSummary |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Returns a short summary for the current widget settings. |
| MediaLibraryWidget::trustedCallbacks |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Lists the trusted callbacks provided by the implementing class. |