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
EntityBase::preCreate function core/lib/Drupal/Core/Entity/EntityBase.php Changes the values of an entity before it is created.
EntityBundle::create function core/lib/Drupal/Core/Entity/Plugin/Condition/Deriver/EntityBundle.php Creates a new class instance.
EntityBundle::create function core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php Creates an instance of the plugin.
EntityBundleExistsConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Instantiates a new instance of this class.
EntityBundleListener::onBundleCreate function core/lib/Drupal/Core/Entity/EntityBundleListener.php Reacts to a bundle being created.
EntityBundleListenerInterface::onBundleCreate function core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php Reacts to a bundle being created.
EntityBundleListenerTest::testOnBundleCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php Test bundle creation.
EntityCacheTagsTestBase::createEntity function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Creates the entity to be tested.
EntityCacheTagsTestBase::createReferenceTestEntities function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Creates a referencing and a non-referencing entity for testing purposes.
EntityClone::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityClone.php Creates an instance of the plugin.
EntityComment::create function core/modules/comment/src/Plugin/migrate/destination/EntityComment.php Creates an instance of the plugin.
EntityCondition::createFromQueryParameter function core/modules/jsonapi/src/Query/EntityCondition.php Creates an EntityCondition object from a query parameter.
EntityConditionTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @covers ::createFromQueryParameter
@dataProvider queryParameterProvider
EntityConfigBase::create function core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php Creates an instance of the plugin.
EntityContentBase::create function core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php Creates an instance of the plugin.
EntityController::create function core/lib/Drupal/Core/Entity/Controller/EntityController.php Instantiates a new instance of this class.
EntityCreate class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php @internal
This API is experimental.
EntityCreate.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php
EntityCreate::apply function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php Applies the config action.
EntityCreate::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php Creates an instance of the plugin.
EntityCreate::__construct function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php Constructs a EntityCreate object.
EntityCreateAccessCheck class core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Defines an access checker for entity creation.
EntityCreateAccessCheck.php file core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
EntityCreateAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php The entity type manager service.
EntityCreateAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php The key used by the routing requirement.
EntityCreateAccessCheck::access function core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Checks access to create the entity type and bundle for the given route.
EntityCreateAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Constructs an EntityCreateAccessCheck object.
EntityCreateAccessCheckTest class core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php @coversDefaultClass \Drupal\Core\Entity\EntityCreateAccessCheck
EntityCreateAccessCheckTest.php file core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityCreateAccessCheckTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php The mocked entity type manager.
EntityCreateAccessCheckTest::providerTestAccess function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php Provides test data for testAccess.
EntityCreateAccessCheckTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityCreateAccessCheckTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php Tests the method for checking access to routes.
EntityCreateAnyAccessCheck class core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Defines an access checker for creating an entity of any bundle.
EntityCreateAnyAccessCheck.php file core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php
EntityCreateAnyAccessCheck::$entityTypeBundleInfo property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The entity type bundle info.
EntityCreateAnyAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The entity type manager.
EntityCreateAnyAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The key used by the routing requirement.
EntityCreateAnyAccessCheck::access function core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Checks access to create an entity of any bundle for the given route.
EntityCreateAnyAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Constructs an EntityCreateAnyAccessCheck object.
EntityCreateDeriver class core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityCreateDeriver.php @internal
This API is experimental.
EntityCreateDeriver.php file core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityCreateDeriver.php
EntityCreateDeriver::getDerivativeDefinitions function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityCreateDeriver.php Gets the definition of all derivatives of a base plugin.
EntityCrudHookTestHooks::blockCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for block entities.
EntityCrudHookTestHooks::commentCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for comment entities.
EntityCrudHookTestHooks::entityCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_entity_create().
EntityCrudHookTestHooks::fileCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for file entities.
EntityCrudHookTestHooks::nodeCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for node entities.
EntityCrudHookTestHooks::taxonomyTermCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for taxonomy_term entities.
EntityCrudHookTestHooks::taxonomyVocabularyCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for taxonomy_vocabulary entities.

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