MediaLibraryUpdateFormAndViewDisplaysTest::testPostUpdateDisplayModes |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateFormAndViewDisplaysTest.php |
Tests the media library module updates for form and view displays. |
MediaLibraryUpdateViewLangcodeFiltersTest |
class |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php |
Tests the media library module updates for the langcode filters. |
MediaLibraryUpdateViewLangcodeFiltersTest.php |
file |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php |
|
MediaLibraryUpdateViewLangcodeFiltersTest::setDatabaseDumpFiles |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php |
Set database dump files to be used. |
MediaLibraryUpdateViewLangcodeFiltersTest::testMediaLibraryViewStatusExtraFilter |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php |
Tests that the langcode filters are added to the media library view. |
MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest |
class |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest.php |
Tests the media library module updates for the view page display links. |
MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest.php |
file |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest.php |
|
MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest::setDatabaseDumpFiles |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest.php |
Set database dump files to be used. |
MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest::testMediaLibraryViewsConfig |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest.php |
Tests that the media library view config is updated. |
MediaLibraryUpdateViewStatusExtraFilterTest |
class |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewStatusExtraFilterTest.php |
Tests the media library module updates for the view page display links. |
MediaLibraryUpdateViewStatusExtraFilterTest.php |
file |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewStatusExtraFilterTest.php |
|
MediaLibraryUpdateViewStatusExtraFilterTest::setDatabaseDumpFiles |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewStatusExtraFilterTest.php |
Set database dump files to be used. |
MediaLibraryUpdateViewStatusExtraFilterTest::testMediaLibraryViewStatusExtraFilter |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewStatusExtraFilterTest.php |
Tests that the status extra filter is added to the media library view. |
MediaLibraryUpdateViewTableDisplayTest |
class |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewTableDisplayTest.php |
Tests the media library module updates for the view table display. |
MediaLibraryUpdateViewTableDisplayTest.php |
file |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewTableDisplayTest.php |
|
MediaLibraryUpdateViewTableDisplayTest::setDatabaseDumpFiles |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewTableDisplayTest.php |
Set database dump files to be used. |
MediaLibraryUpdateViewTableDisplayTest::testMediaLibraryChangedViewTableDisplay |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewTableDisplayTest.php |
Tests the views config update when the widget display is overridden. |
MediaLibraryUpdateViewTableDisplayTest::testMediaLibraryViewTableDisplay |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewTableDisplayTest.php |
Tests the widget_table display is added to the views config. |
MediaLibraryUpdateWidgetViewTest |
class |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateWidgetViewTest.php |
Tests the media library module updates for the widget view. |
MediaLibraryUpdateWidgetViewTest.php |
file |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateWidgetViewTest.php |
|
MediaLibraryUpdateWidgetViewTest::setDatabaseDumpFiles |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateWidgetViewTest.php |
Set database dump files to be used. |
MediaLibraryUpdateWidgetViewTest::testMediaLibraryViewsConfig |
function |
core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateWidgetViewTest.php |
Tests that the media library view config is updated. |
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 |
Creates an instance of the plugin. |
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::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. |
MediaLibraryWidget::updateWidget |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
AJAX callback to update the widget when the selection changes. |
MediaLibraryWidget::validateItems |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Validates that newly selected items can be added to the widget. |
MediaLibraryWidget::__construct |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Constructs a MediaLibraryWidget widget. |