Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 8.9.x for create
  4. Search 10.3.x for create
  5. Other projects
Title Object type File name Summary
EntityCrudHookTestHooks::userCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for user entities.
EntityDataDefinition::create function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Creates a new entity definition.
EntityDataDefinition::createFromDataType function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Creates a new data definition object.
EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that the revision create hook works as expected.
EntityDefaultLanguageTest::createContentType function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Creates a new node content type.
EntityDefaultLanguageTest::createNode function core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php Creates a new node of given type and language using Entity API.
EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED constant core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Indicates that a definition has just been created.
EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a base field if entities exist.
EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a base field if no entities exist.
EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a base field with no label set.
EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a bundle field if entities exist.
EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating, updating, and deleting a bundle field if no entities exist.
EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new field and index on a shared table are created.
EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new entity level index is created when data exists.
EntityDefinitionUpdateTest::testEntityIndexCreateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a multi-field index when there are no existing entities.
EntityDefinitionUpdateTest::testEntityIndexCreateWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating a multi-field index when there are existing entities.
EntityDeprecationTest::testCreateUserDeprecation function core/tests/Drupal/KernelTests/Core/Entity/EntityDeprecationTest.php Tests deprecation of \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::createUser().
EntityDeriver::create function core/modules/rest/src/Plugin/Deriver/EntityDeriver.php Creates a new class instance.
EntityDeriver::create function core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php Creates a new class instance.
EntityDisplayBase::createCopy function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Creates a duplicate of the entity display object on a different view mode.
EntityDisplayInterface::createCopy function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Creates a duplicate of the entity display object on a different view mode.
EntityDisplayModeFormBase::create function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Instantiates a new instance of this class.
EntityDisplayModeListBuilder::createInstance function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Instantiates a new instance of this entity handler.
EntityDisplayRebuilder::create function core/modules/field/src/EntityDisplayRebuilder.php Instantiates a new instance of this class.
EntityExists::create function core/modules/migrate/src/Plugin/migrate/process/EntityExists.php Creates an instance of the plugin.
EntityField::create function core/modules/views/src/Plugin/views/field/EntityField.php Creates an instance of the plugin.
EntityField::createEntityForGroupBy function core/modules/views/src/Plugin/views/field/EntityField.php Creates a fake entity with grouped field values.
EntityFieldTest::createTestEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Creates a test entity.
EntityFormDisplayEditForm::create function core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php Instantiates a new instance of this class.
EntityFormDisplayResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php Creates the entity to be tested.
EntityFormDisplayTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php Creates another entity to be tested.
EntityFormDisplayTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityFormDisplayTest.php Creates the entity to be tested.
EntityFormModeResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/EntityFormModeResourceTestBase.php Creates the entity to be tested.
EntityFormModeTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityFormModeTest.php Creates the entity to be tested.
EntityHandlerInterface::createInstance function core/lib/Drupal/Core/Entity/EntityHandlerInterface.php Instantiates a new instance of this entity handler.
EntityInterface::create function core/lib/Drupal/Core/Entity/EntityInterface.php Constructs a new entity object, without permanently saving it.
EntityInterface::createDuplicate function core/lib/Drupal/Core/Entity/EntityInterface.php Creates a duplicate of the entity.
EntityInterface::postCreate function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on a created entity before hooks are invoked.
EntityInterface::preCreate function core/lib/Drupal/Core/Entity/EntityInterface.php Changes the values of an entity before it is created.
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
EntityLabel::create function core/modules/views/src/Plugin/views/field/EntityLabel.php Creates an instance of the plugin.
EntityListBuilder::createInstance function core/lib/Drupal/Core/Entity/EntityListBuilder.php Instantiates a new instance of this entity handler.
EntityMethod::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityMethod.php Creates an instance of the plugin.
EntityMethodDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityMethodDeriver.php Creates a new class instance.
EntityModerationForm::create function core/modules/content_moderation/src/Form/EntityModerationForm.php Instantiates a new instance of this class.
EntityModerationRouteProvider::createInstance function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php Instantiates a new instance of this entity handler.
EntityOperations::create function core/modules/content_moderation/src/EntityOperations.php Instantiates a new instance of this class.
EntityOperations::create function core/modules/workspaces/src/EntityOperations.php Instantiates a new instance of this class.
EntityOperations::create function core/modules/views/src/Plugin/views/field/EntityOperations.php Creates an instance of the plugin.
EntityOperations::updateOrCreateFromEntity function core/modules/content_moderation/src/EntityOperations.php Creates or updates the moderation state of an entity.

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