Search for add

  1. Search 7.x for add
  2. Search 8.9.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
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the additional (non-standard) cache contexts for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the additional cache tags for the tested entity's listing by type.
EntityCacheTagsTestBase::getAdditionalCacheTagsForEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the additional (non-standard) cache tags for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheTagsForEntityListing function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Returns the additional cache tags for the tested entity's listing by type.
EntityConstraintViolationList::add function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php
EntityController::addBundleTitle function core/lib/Drupal/Core/Entity/Controller/EntityController.php Provides a generic add title callback for entities with bundles.
EntityController::addPage function core/lib/Drupal/Core/Entity/Controller/EntityController.php Displays add links for the available bundles.
EntityController::addTitle function core/lib/Drupal/Core/Entity/Controller/EntityController.php Provides a generic add title callback for an entity type.
EntityDefinitionTestTrait::addBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new bundle field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
EntityDefinitionTestTrait::addLongNameBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a long-named base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionUpdateTest::testInstallAdditionalBaseFieldDuringFieldableEntityTypeInstallation function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests installing an additional base field while installing an entity type.
EntityDisplayModeAddForm class core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Provides the add form for entity display modes.
EntityDisplayModeAddForm.php file core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php
EntityDisplayModeAddForm::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php The entity type for which the display mode is being created.
EntityDisplayModeAddForm::buildForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form constructor.
EntityDisplayModeAddForm::prepareEntity function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Prepares the entity object before the form is built first.
EntityDisplayModeAddForm::validateForm function core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php Form validation handler.
EntityField::addSelfTokens function core/modules/views/src/Plugin/views/field/EntityField.php Add any special tokens this field might use for itself.
EntityField::add_field_table function core/modules/views/src/Plugin/views/field/EntityField.php Determine if the field table should be added to the query.
EntityFormModeAddForm class core/modules/field_ui/src/Form/EntityFormModeAddForm.php Provides the add form for entity display modes.
EntityFormModeAddForm.php file core/modules/field_ui/src/Form/EntityFormModeAddForm.php
EntityFormModeAddForm::prepareEntity function core/modules/field_ui/src/Form/EntityFormModeAddForm.php Prepares the entity object before the form is built first.
EntityFormTest::testGetEntityFromRouteMatchAdd function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle.
EntityFormTest::testGetEntityFromRouteMatchAddEntity function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle.
EntityFormTest::testGetEntityFromRouteMatchAddStatic function core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php Tests EntityForm::getEntityFromRouteMatch() with a static bundle.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceWidgetTest::testAddAfterReordering function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that order is correct after re-order and adding another item.
EntityResolverManagerTest::testSetRouteOptionsWithEntityAddFormRoute function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Tests setRouteOptions() with an _entity_form route for an add form.
EntityResource::addLinkHeaders function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Adds link headers to a response.
EntityResource::addToRelationshipData function core/modules/jsonapi/src/Controller/EntityResource.php Adds a relationship to a to-many relationship.
EntitySchemaSubscriber::addRevisionMetadataField function core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php Adds the 'workspace' revision metadata field to an entity type.
EntityType::$additional property core/lib/Drupal/Core/Entity/EntityType.php Any additional properties and values.
EntityType::addConstraint function core/lib/Drupal/Core/Entity/EntityType.php Adds a validation constraint.
EntityTypeInfo::addModerationToEntityType function core/modules/content_moderation/src/EntityTypeInfo.php Modifies an entity definition to include moderation support.
EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php @covers ::entityBaseFieldInfo
EntityTypeInterface::addConstraint function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Adds a validation constraint.
EntityUrlTest::providerTestToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateAddForm().
EntityUrlTest::testToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Tests the toUrl() method with the 'revision' link template.
EntityViewBuilder::addContextualLinks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Add contextual links.
EntityViewsData::addEntityLinks function core/modules/views/src/EntityViewsData.php Sets the entity links in case corresponding link templates exist.
EventSubscriber::addCollections function core/modules/config/tests/config_collection_install_test/src/EventSubscriber.php Reacts to the ConfigEvents::COLLECTION_INFO event.
ExecutionContext::addViolation function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContext::addViolationAt function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExpectDeprecationTrait::addExpectedDeprecationMessage function core/tests/Drupal/Tests/Traits/ExpectDeprecationTrait.php Sets an expected deprecation message.
ExtensionDiscoveryTest::addFileToFilesystemStructure function core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php
ExtensionList::$addedPathNames property core/lib/Drupal/Core/Extension/ExtensionList.php A list of extension folder names directly added in code (not discovered).

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