Search for add

  1. Search 7.x for add
  2. Search 9.5.x for add
  3. Search 10.3.x for add
  4. Search 11.x for add
  5. Other projects
Title Object type File name Summary
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::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 a 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.
AddRoleUser class core/modules/user/src/Plugin/Action/AddRoleUser.php Adds a role to a user.
AddRoleUser.php file core/modules/user/src/Plugin/Action/AddRoleUser.php
AddRoleUser::execute function core/modules/user/src/Plugin/Action/AddRoleUser.php Executes the plugin.
AddRoleUserTest class core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php @coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser
@group user
AddRoleUserTest.php file core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php
AddRoleUserTest::testExecuteAddExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user with a role.
AddRoleUserTest::testExecuteAddNonExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user without a specific role.
AddSectionController class core/modules/layout_builder/src/Controller/AddSectionController.php Defines a controller to add a new section.
AddSectionController.php file core/modules/layout_builder/src/Controller/AddSectionController.php
AddSectionController::$layoutTempstoreRepository property core/modules/layout_builder/src/Controller/AddSectionController.php The layout tempstore repository.
AddSectionController::build function core/modules/layout_builder/src/Controller/AddSectionController.php Adds the new section.
AddSectionController::create function core/modules/layout_builder/src/Controller/AddSectionController.php Instantiates a new instance of this class.
AddSectionController::__construct function core/modules/layout_builder/src/Controller/AddSectionController.php AddSectionController constructor.
AddStyleSheetCommand class core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php AJAX command to add style sheets to a CKEditor instance.
AddStyleSheetCommand.php file core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php
AddStyleSheetCommand::$editorId property core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php The CKEditor instance ID.
AddStyleSheetCommand::$styleSheets property core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php The style sheet URLs to add to the CKEditor instance.
AddStyleSheetCommand::addStyleSheet function core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php Adds a style sheet to the CKEditor instance.
AddStyleSheetCommand::render function core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php Return an array to be run through json_encode and sent to the client.
AddStyleSheetCommand::__construct function core/modules/ckeditor/src/Ajax/AddStyleSheetCommand.php AddStyleSheetCommand constructor.
AdminHtmlRouteProvider::getAddFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the add-form route.
AdminHtmlRouteProvider::getAddPageRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the add page route.
AggregatorController::feedAdd function core/modules/aggregator/src/Controller/AggregatorController.php Presents the aggregator feed creation form.
AjaxBlockTest::testAddAjaxBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php Tests configuring a field block for a user field.
AjaxCommandsTest::testAddCssCommand function core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php @covers \Drupal\Core\Ajax\AddCssCommand
AjaxCssForm::addCssIframe function core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php Handles the AJAX request to add CSS to the iframe editor.
AjaxCssForm::addCssInline function core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php Handles the AJAX request to add CSS to the inline editor.

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