AddFormBase::$mediaType |
property |
core/modules/media_library/src/Form/AddFormBase.php |
The type of media items being created by this form. |
AddFormBase::$openerResolver |
property |
core/modules/media_library/src/Form/AddFormBase.php |
The opener resolver. |
AddFormBase::$viewBuilder |
property |
core/modules/media_library/src/Form/AddFormBase.php |
The media view builder. |
AddFormBase::buildActions |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Returns an array of supported actions for the form. |
AddFormBase::buildCurrentSelectionArea |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Returns a render array containing the current selection. |
AddFormBase::buildEntityFormElement |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Builds the sub-form for setting required fields on a new media item. |
AddFormBase::buildForm |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Form constructor. |
AddFormBase::buildInputElement |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Builds the element for submitting source field value(s). |
AddFormBase::buildMediaLibraryUi |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Build the render array of the media library UI. |
AddFormBase::buildSelectedItemElement |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Returns a render array for a single pre-selected media item. |
AddFormBase::create |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Instantiates a new instance of this class. |
AddFormBase::createMediaFromValue |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Creates a new, unsaved media item from a source field value. |
AddFormBase::getAddedMediaItems |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get all added media items from the form state. |
AddFormBase::getBaseFormId |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Returns a string identifying the base form. |
AddFormBase::getCurrentMediaItems |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get all pre-selected and added media items from the form state. |
AddFormBase::getMediaLibraryState |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get the media library state from the form state. |
AddFormBase::getMediaType |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get the media type from the form state. |
AddFormBase::getPreSelectedMediaItems |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get all pre-selected media items from the form state. |
AddFormBase::getSelectedMediaItemCount |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Get the number of selected media. |
AddFormBase::getSourceFieldName |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Returns the name of the source field for a media type. |
AddFormBase::isAdvancedUi |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Determines if the "advanced UI" of the Media Library is enabled. |
AddFormBase::prepareMediaEntityForSave |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Prepares a created media item to be permanently saved. |
AddFormBase::preRenderAddedMedia |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Converts the set of newly added media into an item list for rendering. |
AddFormBase::processInputValues |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Creates media items from source field input values. |
AddFormBase::removeButtonSubmit |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Submit handler for the remove button. |
AddFormBase::submitForm |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Form submission handler. |
AddFormBase::trustedCallbacks |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Lists the trusted callbacks provided by the implementing class. |
AddFormBase::updateFormCallback |
function |
core/modules/media_library/src/Form/AddFormBase.php |
AJAX callback to update the entire form based on source field input. |
AddFormBase::updateLibrary |
function |
core/modules/media_library/src/Form/AddFormBase.php |
AJAX callback to send the new media item(s) to the media library. |
AddFormBase::updateWidget |
function |
core/modules/media_library/src/Form/AddFormBase.php |
AJAX callback to send the new media item(s) to the calling code. |
AddFormBase::validateForm |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Form validation handler. |
AddFormBase::validateMediaEntity |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Validate a created media item. |
AddFormBase::__construct |
function |
core/modules/media_library/src/Form/AddFormBase.php |
Constructs an AddFormBase object. |
AddHandler::buildForm |
function |
core/modules/views_ui/src/Form/Ajax/AddHandler.php |
Form constructor. |
AddHandler::getForm |
function |
core/modules/views_ui/src/Form/Ajax/AddHandler.php |
Creates a new instance of this form. |
AddHandler::getFormId |
function |
core/modules/views_ui/src/Form/Ajax/AddHandler.php |
Returns a unique string identifying the form. |
AddHandler::getFormKey |
function |
core/modules/views_ui/src/Form/Ajax/AddHandler.php |
Returns the key that represents this form. |
AdminHtmlRouteProvider::getAddFormRoute |
function |
core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php |
Gets the add-form route. |
AdminHtmlRouteProvider::getDeleteFormRoute |
function |
core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php |
Gets the delete-form route. |
AdminHtmlRouteProvider::getDeleteMultipleFormRoute |
function |
core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php |
Returns the delete multiple form route. |
AdminHtmlRouteProvider::getEditFormRoute |
function |
core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php |
Gets the edit-form route. |
AdminUiTest::testLanguageConfigForm |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php |
Tests the language config form. |
AdminUiTest::testPluginSettingsFormSection |
function |
core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php |
Tests the plugin settings form section. |
AdvancedSettingsForm |
class |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Form builder for the advanced admin settings page. |
AdvancedSettingsForm.php |
file |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
|
AdvancedSettingsForm::buildForm |
function |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Form constructor. |
AdvancedSettingsForm::cacheSubmit |
function |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Submission handler to clear the Views cache. |
AdvancedSettingsForm::getEditableConfigNames |
function |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Gets the configuration names that will be editable. |
AdvancedSettingsForm::getFormId |
function |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Returns a unique string identifying the form. |
AdvancedSettingsForm::submitForm |
function |
core/modules/views_ui/src/Form/AdvancedSettingsForm.php |
Form submission handler. |