Search for A

  1. Search 7.x for A
  2. Search 9.5.x for A
  3. Search 8.9.x for A
  4. Search 10.3.x for A
  5. Other projects
Title Object type File name Summary
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 class core/modules/views_ui/src/Form/Ajax/AddHandler.php Provides a form for adding an item in the Views UI.
AddHandler.php file core/modules/views_ui/src/Form/Ajax/AddHandler.php
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.
AddHandler::__construct function core/modules/views_ui/src/Form/Ajax/AddHandler.php Constructs a new AddHandler object.
AddItemToToolbar class core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php Config action plugin to add an item to the toolbar.
AddItemToToolbar.php file core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
AddItemToToolbar::apply function core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php Applies the config action.
AddItemToToolbar::create function core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php Creates an instance of the plugin.
AddItemToToolbar::__construct function core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
AddItemToToolbarConfigActionTest class core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php @covers \Drupal\ckeditor5\Plugin\ConfigAction\AddItemToToolbar[[api-linebreak]]
@group ckeditor5
@group Recipe
AddItemToToolbarConfigActionTest.php file core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddItemToToolbarConfigActionTest::$configSchemaCheckerExclusions property core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php An array of config object names that are excluded from schema checking.
AddItemToToolbarConfigActionTest::$modules property core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Modules to install.
AddItemToToolbarConfigActionTest::setUp function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Tests that the `addItemToToolbar` config action requires CKEditor 5.
AddItemToToolbarConfigActionTest::testAddItemToToolbar function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php @testWith ["sourceEditing", ["heading", "bold", "italic", "sourceEditing"]][[api-linebreak]]
[{"item_name": "sourceEditing"}, ["heading", "bold",…
AddItemToToolbarConfigActionTest::testAddNonExistentItem function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Tests that adding non-existent toolbar item to CKEditor triggers an error.
AddJsCommand class core/lib/Drupal/Core/Ajax/AddJsCommand.php An AJAX command for adding JS to the page via AJAX.
AddJsCommand.php file core/lib/Drupal/Core/Ajax/AddJsCommand.php
AddJsCommand::$scripts property core/lib/Drupal/Core/Ajax/AddJsCommand.php An array containing attributes of the scripts to be added to the page.
AddJsCommand::$selector property core/lib/Drupal/Core/Ajax/AddJsCommand.php A CSS selector string.
AddJsCommand::render function core/lib/Drupal/Core/Ajax/AddJsCommand.php Return an array to be run through json_encode and sent to the client.
AddJsCommand::__construct function core/lib/Drupal/Core/Ajax/AddJsCommand.php Constructs an AddJsCommand.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.