Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 10.3.x for create
  4. Search 11.x for create
  5. Other projects
Title Object type File name Summary
EntityTest::preCreate function core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php Changes the values of an entity before it is created.
EntityTestAccessControlHandler::checkCreateAccess function core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php Performs create access checks.
EntityTestBundleResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Creates the entity to be tested.
EntityTestDateonlyTest::createEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php Creates the entity to be tested.
EntityTestDateRangeTest::createEntity function core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php Creates the entity to be tested.
EntityTestDatetimeTest::createEntity function core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php Creates the entity to be tested.
EntityTestDefinitionSubscriber::onEntityTypeCreate function core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php Reacts to the creation of the entity type.
EntityTestDefinitionSubscriber::onFieldableEntityTypeCreate function core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php Reacts to the creation of the fieldable entity type.
EntityTestDefinitionSubscriber::onFieldStorageDefinitionCreate function core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php Reacts to the creation of a field storage definition.
EntityTestHalJsonInternalPropertyNormalizerTest::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestHalJsonInternalPropertyNormalizerTest.php Creates the entity to be tested.
EntityTestJsonInternalPropertyNormalizerTest::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php Creates the entity to be tested.
EntityTestLabelResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Creates the entity to be tested.
EntityTestMapFieldResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Creates the entity to be tested.
EntityTestMapFieldTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php Creates the entity to be tested.
EntityTestResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php Creates the entity to be tested.
EntityTestTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityTestTest.php Creates the entity to be tested.
EntityTestTextItemNormalizerTest::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php Creates the entity to be tested.
EntityTestUpdate::preCreate function core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php Changes the values of an entity before it is created.
EntityTypeEvents::CREATE constant core/lib/Drupal/Core/Entity/EntityTypeEvents.php The name of the event triggered when a new entity type is created.
EntityTypeEventSubscriberTrait::onEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php
EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php
EntityTypeInfo::create function core/modules/content_moderation/src/EntityTypeInfo.php Instantiates a new instance of this class.
EntityTypeInfo::create function core/modules/workspaces/src/EntityTypeInfo.php Instantiates a new instance of this class.
EntityTypeListener::onEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeListener.php Reacts to the creation of the entity type.
EntityTypeListener::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeListener.php Reacts to the creation of the fieldable entity type.
EntityTypeListenerInterface::onEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php Reacts to the creation of the entity type.
EntityTypeListenerInterface::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php Reacts to the creation of the fieldable entity type.
EntityTypeManager::createHandlerInstance function core/lib/Drupal/Core/Entity/EntityTypeManager.php Creates new handler instance.
EntityTypeManagerInterface::createHandlerInstance function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Creates new handler instance.
EntityUnitTest::testCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::create
EntityUnitTest::testPostCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postCreate
EntityUnitTest::testPreCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preCreate
EntityUnitTestBase::createUser function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Creates a user.
EntityUntranslatableFieldsConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityUntranslatableFieldsConstraintValidator.php Instantiates a new instance of this class.
EntityUrlLanguageTest::createTranslatableEntity function core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php Creates a translated entity.
EntityUser::create function core/modules/user/src/Plugin/migrate/destination/EntityUser.php Creates an instance of the plugin.
EntityValidationTest::createTestEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Creates a test entity.
EntityViewBuilder::createInstance function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Instantiates a new instance of this entity handler.
EntityViewBuilderTest::createTestEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php Creates an entity for testing.
EntityViewController::create function core/lib/Drupal/Core/Entity/Controller/EntityViewController.php Instantiates a new instance of this class.
EntityViewControllerTest::createTestEntity function core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php Creates an entity for testing.
EntityViewDisplayEditForm::create function core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php Instantiates a new instance of this class.
EntityViewDisplayResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php Creates the entity to be tested.
EntityViewDisplayTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php Creates another entity to be tested.
EntityViewDisplayTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityViewDisplayTest.php Creates the entity to be tested.
EntityViewModeResourceTestBase::createEntity function core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php Creates the entity to be tested.
EntityViewModeTest::createEntity function core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php Creates the entity to be tested.
EntityViewsData::createInstance function core/modules/views/src/EntityViewsData.php Instantiates a new instance of this entity handler.
EntityWorkspaceConflictConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityWorkspaceConflictConstraintValidator.php Instantiates a new instance of this class.
entity_create function core/includes/entity.inc Constructs a new entity object, without permanently saving it.

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