Search for add

  1. Search 7.x for add
  2. Search 9.5.x for add
  3. Search 8.9.x for add
  4. Search 11.x for add
  5. Other projects
Title Object type File name Summary
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
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
@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
AddItemToToolbarConfigActionTest::testAddItemToToolbar function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php @testWith ["sourceEditing", ["heading", "bold", "italic", "sourceEditing"]]
[{"item_name": "sourceEditing"}, ["heading", "bold", "italic",…
AddItemToToolbarConfigActionTest::testAddNonExistentItem function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
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.
AddModeration class core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
AddModeration.php file core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
AddModeration::apply function core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php Applies the config action.
AddModeration::create function core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php Creates an instance of the plugin.
AddModeration::__construct function core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
AddModerationConfigActionTest class core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php @covers \Drupal\content_moderation\Plugin\ConfigAction\AddModeration
@covers \Drupal\content_moderation\Plugin\ConfigAction\AddModerationDeriver
@group content_moderation
@group Recipe

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