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
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/filter/EntityReference.php Creates an instance of the plugin.
EntityReference::create function core/modules/views/src/Plugin/views/display/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.
EntityReferenceFieldTranslatedReferenceViewTest::createContent function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Creates a test subject contents, with translation.
EntityReferenceFieldTranslatedReferenceViewTest::createNotTranslatedReferencedEntity function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Create the referenced entity.
EntityReferenceFieldTranslatedReferenceViewTest::createReferencedEntityWithTranslation function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Create a referenced entity with a translation.
EntityReferenceFieldTranslatedReferenceViewTest::createReferrerEntity function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Create the referrer entity.
EntityReferenceItemTest::testAutocreateValidation function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testEntityAutoCreate function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests entity auto create.
EntityReferenceSupportedNewEntitiesConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php Instantiates a new instance of this class.
EntityReferenceTranslationDeriver::create function core/modules/migrate_drupal/src/Plugin/migrate/EntityReferenceTranslationDeriver.php Creates a new class instance.
EntityResolverManagerTest::testSetRouteOptionsWithEntityUpcastingNoCreate function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Tests setRouteOptions() with entity form upcasting, no create method.
EntityResource::create function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Creates an instance of the plugin.
EntityResource::createIndividual function core/modules/jsonapi/src/Controller/EntityResource.php Creates an individual entity.
EntityResourceTest::createEntityResource function core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php Creates an instance of the subject under test.
EntityResourceTestBase::$firstCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the first created entity in testPost().
EntityResourceTestBase::$secondCreatedEntityId property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity ID for the second created entity in testPost().
EntityResourceTestBase::createAnotherEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates another entity to be tested.
EntityResourceTestBase::createEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates the entity to be tested.
EntityReverse::create function core/modules/views/src/Plugin/views/relationship/EntityReverse.php Creates an instance of the plugin.
EntityRevisionViewController::create function core/lib/Drupal/Core/Entity/Controller/EntityRevisionViewController.php Instantiates a new instance of this class.
EntityRow::create function core/modules/views/src/Plugin/views/row/EntityRow.php Creates an instance of the plugin.
EntitySchemaSubscriber::onEntityTypeCreate function core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php Reacts to the creation of the entity type.
EntitySchemaSubscriber::onEntityTypeCreate function core/modules/system/tests/modules/entity_test_update/src/EventSubscriber/EntitySchemaSubscriber.php Reacts to the creation of the entity type.
EntitySchemaSubscriber::onFieldableEntityTypeCreate function core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php Reacts to the creation of the fieldable entity type.
EntitySchemaTest::testCustomFieldCreateDelete function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests the custom bundle field creation and deletion.
EntitySchemaTestHooks::entityBundleCreate function core/modules/system/tests/modules/entity_schema_test/src/Hook/EntitySchemaTestHooks.php Implements hook_entity_bundle_create().
EntitySearchPage::create function core/modules/search/src/Plugin/migrate/destination/EntitySearchPage.php Creates an instance of the plugin.
EntityStorageBase::create function core/lib/Drupal/Core/Entity/EntityStorageBase.php Constructs a new entity object, without permanently saving it.
EntityStorageBase::doCreate function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific creation of entities.

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