Search for create

  1. Search 7.x for create
  2. Search 8.9.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
EntityAccessControlHandler::checkCreateAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Performs create access checks.
EntityAccessControlHandler::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Checks access to create an entity.
EntityAccessControlHandlerInterface::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to create an entity.
EntityActionBase::create function core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php Creates an instance of the plugin.
EntityActionDeriverBase::create function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php Creates a new class instance.
EntityAdapter::createFromEntity function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php Creates an instance wrapping the given entity.
EntityAutocompleteController::create function core/modules/system/src/Controller/EntityAutocompleteController.php Instantiates a new instance of this class.
EntityAutocompleteElementFormTest::$testAutocreateUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for autocreate testing.
EntityBase::create function core/lib/Drupal/Core/Entity/EntityBase.php Constructs a new entity object, without permanently saving it.
EntityBase::createDuplicate function core/lib/Drupal/Core/Entity/EntityBase.php Creates a duplicate of the entity.
EntityBase::postCreate function core/lib/Drupal/Core/Entity/EntityBase.php Acts on a created entity before hooks are invoked.
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.
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 @covers ::onBundleCreate
EntityCacheTagsTestBase::createCacheId function core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php Creates a cache ID from a list of cache keys and a set of cache contexts.
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.
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.
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.
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.

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