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
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.
AddToAllBundles class core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php Adds a field to all bundles of its target entity type.
AddToAllBundles.php file core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php
AddToAllBundles::apply function core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php Applies the config action.
AddToAllBundles::create function core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php Creates an instance of the plugin.
AddToAllBundles::__construct function core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php
AddToAllBundlesConfigActionTest class core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php @covers \Drupal\field\Plugin\ConfigAction\AddToAllBundles[[api-linebreak]]
AddToAllBundlesConfigActionTest.php file core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
AddToAllBundlesConfigActionTest::$modules property core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Modules to install.
AddToAllBundlesConfigActionTest::applyAction function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Applies a recipe with the addToAllBundles action.
AddToAllBundlesConfigActionTest::setUp function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
AddToAllBundlesConfigActionTest::testFailIfExists function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action can be set to fail if the field already exists.
AddToAllBundlesConfigActionTest::testIgnoreExistingFields function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action will ignore existing fields by default.
AddToAllBundlesConfigActionTest::testInstantiateNewFieldOnAllBundles function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests instantiating a field on all bundles of an entity type.
AdminHtmlRouteProvider::getAddFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php
AdminHtmlRouteProvider::getAddPageRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php
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 Tests add css command.
AjaxResponse::addCommand function core/lib/Drupal/Core/Ajax/AjaxResponse.php Add an AJAX command to the response.
AliasRepository::addLanguageFallback function core/modules/path_alias/src/AliasRepository.php Adds path alias language fallback conditions to a select query object.
AlterableInterface::addMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds additional metadata to the query.
AlterableInterface::addTag function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds a tag to a query.
AlwaysAddsAccessPolicy class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php A test access policy that adds a permission.
AlwaysAddsAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AlwaysAddsAccessPolicy::calculatePermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AlwaysAddsAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
ArchiverInterface::add function core/lib/Drupal/Core/Archiver/ArchiverInterface.php Adds the specified file or directory to the archive.
AttachedAssetsTest::testAddExternalFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have query strings attached get added right.
AttachedAssetsTest::testAddJsSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript settings.
AttachmentsInterface::addAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Merges an array of attached data into this object's collection.
AttachmentsTrait::addAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
Attribute::addClass function core/lib/Drupal/Core/Template/Attribute.php Adds classes or merges them on to array of existing CSS classes.
AttributeTest::testAdd function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding new values to an existing part of the attribute.
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
AuditResult::addReason function core/modules/migrate/src/Audit/AuditResult.php Adds a reason why the migration passed or failed the audit.
AuthenticationCollector::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php
AuthenticationCollectorInterface::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Adds a provider to the array of registered providers.
BaseFieldDefinition::addPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Adds constraints for a given field item property.
BatchBuilder::addOperation function core/lib/Drupal/Core/Batch/BatchBuilder.php Adds a batch operation.
BatchBuilderTest::testAddingLibraries function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests setting and adding libraries.

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