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 10.3.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
AddFormBase::trustedCallbacks function core/modules/media_library/src/Form/AddFormBase.php
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
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
AddHandler::getForm function core/modules/views_ui/src/Form/Ajax/AddHandler.php
AddHandler::getFormId function core/modules/views_ui/src/Form/Ajax/AddHandler.php
AddHandler::getFormKey function core/modules/views_ui/src/Form/Ajax/AddHandler.php
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
AddItemToToolbar::create function core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
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
AddItemToToolbarConfigActionTest::$modules property core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
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
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
AddModeration::create function core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
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.