Search for add
Title | Object type | File name | Summary |
---|---|---|---|
AddFormBase::create | function | core/ |
Instantiates a new instance of this class. |
AddFormBase::createMediaFromValue | function | core/ |
Creates a new, unsaved media item from a source field value. |
AddFormBase::getAddedMediaItems | function | core/ |
Get all added media items from the form state. |
AddFormBase::getBaseFormId | function | core/ |
Returns a string identifying the base form. |
AddFormBase::getCurrentMediaItems | function | core/ |
Get all pre-selected and added media items from the form state. |
AddFormBase::getMediaLibraryState | function | core/ |
Get the media library state from the form state. |
AddFormBase::getMediaType | function | core/ |
Get the media type from the form state. |
AddFormBase::getPreSelectedMediaItems | function | core/ |
Get all pre-selected media items from the form state. |
AddFormBase::getSourceFieldName | function | core/ |
Returns the name of the source field for a media type. |
AddFormBase::isAdvancedUi | function | core/ |
Determines if the "advanced UI" of the Media Library is enabled. |
AddFormBase::prepareMediaEntityForSave | function | core/ |
Prepares a created media item to be permanently saved. |
AddFormBase::preRenderAddedMedia | function | core/ |
Converts the set of newly added media into an item list for rendering. |
AddFormBase::processInputValues | function | core/ |
Creates media items from source field input values. |
AddFormBase::removeButtonSubmit | function | core/ |
Submit handler for the remove button. |
AddFormBase::submitForm | function | core/ |
Form submission handler. |
AddFormBase::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
AddFormBase::updateFormCallback | function | core/ |
AJAX callback to update the entire form based on source field input. |
AddFormBase::updateLibrary | function | core/ |
AJAX callback to send the new media item(s) to the media library. |
AddFormBase::updateWidget | function | core/ |
AJAX callback to send the new media item(s) to the calling code. |
AddFormBase::validateForm | function | core/ |
Form validation handler. |
AddFormBase::validateMediaEntity | function | core/ |
Validate a created media item. |
AddFormBase::__construct | function | core/ |
Constructs an AddFormBase object. |
AddHandler | class | core/ |
Provides a form for adding an item in the Views UI. |
AddHandler.php | file | core/ |
|
AddHandler::buildForm | function | core/ |
Form constructor. |
AddHandler::getForm | function | core/ |
Creates a new instance of this form. |
AddHandler::getFormId | function | core/ |
Returns a unique string identifying the form. |
AddHandler::getFormKey | function | core/ |
Returns the key that represents this form. |
AddHandler::__construct | function | core/ |
Constructs a new AddHandler object. |
AddJsCommand | class | core/ |
An AJAX command for adding JS to the page via AJAX. |
AddJsCommand.php | file | core/ |
|
AddJsCommand::$scripts | property | core/ |
An array containing attributes of the scripts to be added to the page. |
AddJsCommand::$selector | property | core/ |
A CSS selector string. |
AddJsCommand::render | function | core/ |
Return an array to be run through json_encode and sent to the client. |
AddJsCommand::__construct | function | core/ |
Constructs an AddJsCommand. |
AddRoleUser | class | core/ |
Adds a role to a user. |
AddRoleUser.php | file | core/ |
|
AddRoleUser::execute | function | core/ |
Executes the plugin. |
AddRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser @group user |
AddRoleUserTest.php | file | core/ |
|
AddRoleUserTest::testExecuteAddExistingRole | function | core/ |
Tests the execute method on a user with a role. |
AddRoleUserTest::testExecuteAddNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
AddSectionController | class | core/ |
Defines a controller to add a new section. |
AddSectionController.php | file | core/ |
|
AddSectionController::$layoutTempstoreRepository | property | core/ |
The layout tempstore repository. |
AddSectionController::build | function | core/ |
Adds the new section. |
AddSectionController::create | function | core/ |
Instantiates a new instance of this class. |
AddSectionController::__construct | function | core/ |
AddSectionController constructor. |
AddStyleSheetCommand | class | core/ |
AJAX command to add style sheets to a CKEditor instance. |
AddStyleSheetCommand.php | file | core/ |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.