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
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.
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[[api-linebreak]]
EntityUnitTest::testPostCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::postCreate[[api-linebreak]]
EntityUnitTest::testPreCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::preCreate[[api-linebreak]]
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.
EntityUserRole::create function core/modules/user/src/Plugin/migrate/destination/EntityUserRole.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_test_create_bundle function core/modules/system/tests/modules/entity_test/entity_test.module Creates a new bundle for entity_test entities.
EntryPoint::create function core/modules/jsonapi/src/Controller/EntryPoint.php Instantiates a new instance of the implementing class using autowiring.
ErrorTest::createBacktraceItem function core/tests/Drupal/Tests/Core/Utility/ErrorTest.php Creates a mock backtrace item.
ErrorTestController::create function core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php Instantiates a new instance of the implementing class using autowiring.
ExecutionContextFactory::createContext function core/lib/Drupal/Core/Validation/ExecutionContextFactory.php
ExportForm::create function core/modules/locale/src/Form/ExportForm.php Instantiates a new instance of this class.
ExtensionExistsConstraintValidator::create function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Instantiates a new instance of this class.
ExtensionInstallStorage::createCollection function core/lib/Drupal/Core/Config/ExtensionInstallStorage.php Creates a collection on the storage.
ExtensionInstallStorageTest::testCreateCollection function core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php @covers ::createCollection[[api-linebreak]]
ExtensionList::createExtensionInfo function core/lib/Drupal/Core/Extension/ExtensionList.php Creates the info value for an extension object.
ExtensionVersion::createFromSupportBranch function core/lib/Drupal/Core/Extension/ExtensionVersion.php Constructs an ExtensionVersion version object from a support branch.
ExtensionVersion::createFromVersionString function core/lib/Drupal/Core/Extension/ExtensionVersion.php Constructs an extension version object from a version string.
ExtensionVersionTest::createKeyedTestCases function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php Creates test case arrays for data provider methods.
ExtensionVersionTest::providerCreateFromSupportBranch function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php Data provider for testCreateFromSupportBranch().
ExtensionVersionTest::testCreateFromSupportBranch function core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @covers ::createFromSupportBranch[[api-linebreak]]
ExtractorTest::testCreateIcon function core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php Test the IconExtractorBase:createIcon method.
ExtractorTest::testCreateIconExceptionTemplate function core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php Test the IconExtractorBase:createIcon method with Exception.
ExtraFieldBlock::create function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php Creates an instance of the plugin.

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