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
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.
EntityOperationsTest::createNodeType function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Creates a page node type to test with, ensuring that it's moderated.
EntityPermissionsForm::create function core/modules/user/src/Form/EntityPermissionsForm.php Instantiates a new instance of this class.
EntityPermissionsRouteProvider::createInstance function core/modules/user/src/Entity/EntityPermissionsRouteProvider.php Instantiates a new instance of this entity handler.
EntityReference::create function core/modules/views/src/Plugin/views/display/EntityReference.php Creates an instance of the plugin.
EntityReference::create function core/modules/views/src/Plugin/views/filter/EntityReference.php Creates an instance of the plugin.
EntityReferenceAdminTest::createEntityReferenceField function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php Creates a new Entity Reference fields with a given target type.
EntityReferenceArgument::create function core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php Creates an instance of the plugin.
EntityReferenceAutocompleteWidget::getAutocreateBundle function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the name of the bundle which will be used for autocreated entities.
EntityReferenceAutoCreateTest class core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests creating new entity (e.g. taxonomy-term) from an autocomplete widget.
EntityReferenceAutoCreateTest.php file core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
EntityReferenceAutoCreateTest::$defaultTheme property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The theme to install as the default for testing.
EntityReferenceAutoCreateTest::$modules property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Modules to install.
EntityReferenceAutoCreateTest::$referencedType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The name of a content type that will be referenced by $referencingType.
EntityReferenceAutoCreateTest::$referencingType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php The name of a content type that will reference $referencedType.
EntityReferenceAutoCreateTest::setUp function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
EntityReferenceAutoCreateTest::testAutoCreate function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests the autocomplete input element and entity auto-creation.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests multiple target bundles.
EntityReferenceAutoCreateTest::testNoBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests autocreation for an entity that has no bundles.
EntityReferenceEntityFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Creates an instance of the plugin.
EntityReferenceFieldCreationTrait::createEntityReferenceField function core/modules/field/tests/src/Traits/EntityReferenceFieldCreationTrait.php Creates a field of an entity reference field storage on the specified bundle.
EntityReferenceFieldTest::assertUserAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for users.
EntityReferenceFieldTest::assertUserRoleAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for user roles.
EntityReferenceFieldTest::testAutocreateApi function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests all the possible ways to autocreate an entity via the API.

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