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
EntityDefinitionTestTrait::addBundleField function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a new bundle field to the 'entity_test_update' entity type.
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/src/Tests/Entity/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
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/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a long-named base field to the 'entity_test_update' entity type.
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/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a new revisionable 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.
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.
EntityResourcePermissionsUpdateTest::testBcEntityResourcePermissionSettingAdded function core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php Tests rest_update_8203().
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.
EntityUpdateAddRevisionDefaultTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the upgrade path for adding the 'revision_default' field.
EntityUpdateAddRevisionDefaultTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php
EntityUpdateAddRevisionDefaultTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionDefaultTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php The state service.
EntityUpdateAddRevisionDefaultTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Set database dump files to be used.
EntityUpdateAddRevisionDefaultTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionDefaultTest::testAddingTheRevisionDefaultField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionDefaultTest.php Tests the addition of the 'revision_default' base field.
EntityUpdateAddRevisionTranslationAffectedTest class core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the upgrade path for adding the 'revision_translation_affected' field.
EntityUpdateAddRevisionTranslationAffectedTest.php file core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php
EntityUpdateAddRevisionTranslationAffectedTest::$defaultTheme property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The theme to install as the default for testing.
EntityUpdateAddRevisionTranslationAffectedTest::$modules property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Modules to enable after the database is loaded.
EntityUpdateAddRevisionTranslationAffectedTest::$state property core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php The state service.
EntityUpdateAddRevisionTranslationAffectedTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Set database dump files to be used.
EntityUpdateAddRevisionTranslationAffectedTest::setUp function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Overrides WebTestBase::setUp() for update testing.
EntityUpdateAddRevisionTranslationAffectedTest::testAddingTheRevisionTranslationAffectedField function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the addition of the 'revision_translation_affected' base field.
EntityUpdateAddRevisionTranslationAffectedTest::testDeletedEntityType function core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php Tests the 'revision_translation_affected' field on a deleted entity type.
EntityUrlTest::providerTestToUrlLinkTemplateAddForm function core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php Provides data for testToUrlLinkTemplateAddForm().

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