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
InlineBlockEntityOperations::create function core/modules/layout_builder/src/InlineBlockEntityOperations.php Instantiates a new instance of this class.
InlineBlockPrivateFilesTest::createNewNodeRevision function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Create a new revision of the node.
InlineBlockPrivateFilesTest::createPrivateFile function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Creates a private file.
InlineBlockTestBase::createBlockContentType function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Creates a block content type.
InstalledPackage::createFromArray function core/modules/package_manager/src/InstalledPackage.php Create an installed package object from an array.
InstallHelper::create function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Instantiates a new instance of this class.
InstallHelper::createFileEntity function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Creates a file entity based on an image path.
InstallHelper::storeCreatedContentUuids function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Stores record of content entities created by this import.
InstallTasksTest::createTasks function core/modules/mysql/tests/src/Unit/InstallTasksTest.php Creates a Tasks object for testing.
InstallTasksTest::createTasksNoConnection function core/modules/mysql/tests/src/Unit/InstallTasksTest.php Creates a Tasks object for testing, without connection.
IsFrontPathCacheContextTest::createPathMatcher function core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php Creates a PathMatcherInterface prophecy.
ItemList::createItem function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Helper for creating a list item object.
JsAssetController::create function core/modules/system/src/Controller/JsAssetController.php Instantiates a new instance of the implementing class using autowiring.
JsonApiFunctionalTestBase::createDefaultContent function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Creates default content to test the API.
JsonapiHooks::entityBundleCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_bundle_create().
JsonapiHooks::entityCreate function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_create().
JsonapiKernelTestBase::createTextField function core/modules/jsonapi/tests/src/Kernel/JsonapiKernelTestBase.php Creates a field of an entity reference field storage on the bundle.
KeyValueContentEntityStorage::createRevision function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates a new revision starting off from the specified entity object.
KeyValueContentEntityStorage::createTranslation function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Constructs a new entity translation object, without permanently saving it.
KeyValueContentEntityStorage::createWithSampleValues function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Creates an entity with sample field values.
KeyValueEntityStorage::createInstance function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Instantiates a new instance of this entity handler.
KeyValueEntityStorage::doCreate function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Performs storage-specific creation of entities.
KeyValueEntityStorageTest::testCreate function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::create
@covers ::doCreate
KeyValueEntityStorageTest::testCreateWithoutUuidKey function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::create
@covers ::doCreate
KeyValueEntityStorageTest::testCreateWithPredefinedUuid function core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @covers ::create
@covers ::doCreate
LabelOnlyResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php Creates a new ResourceObject from an entity.
Language::create function core/modules/language/src/Plugin/Condition/Language.php Creates an instance of the plugin.
Language::create function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php Creates an instance of the plugin.
LanguageBlock::create function core/modules/language/src/Plugin/Block/LanguageBlock.php Creates an instance of the plugin.
LanguageConfigCollectionNameTrait::createConfigCollectionName function core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php Creates a configuration collection name based on a language code.
LanguageConfigFactoryOverride::createConfigObject function core/modules/language/src/Config/LanguageConfigFactoryOverride.php
LanguageFilter::create function core/modules/views/src/Plugin/views/filter/LanguageFilter.php Creates an instance of the plugin.
LanguageFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Creates an instance of the plugin.
LanguageFormBase::create function core/modules/language/src/Form/LanguageFormBase.php Instantiates a new instance of this class.
LanguageListBuilder::createInstance function core/modules/language/src/LanguageListBuilder.php Instantiates a new instance of this entity handler.
LanguageNegotiationBrowser::create function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationBrowser.php Creates an instance of the plugin.
LanguageNegotiationContentEntity::create function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Creates an instance of the plugin.
LanguageNegotiationContentEntityTest::createTranslatableEntity function core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php Creates a translated entity.
LanguageNegotiationSession::create function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Creates an instance of the plugin.
LanguageNegotiationTestBase::createLanguageNegotiationPlugin function core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php Creates a @LanguageNegotiation plugin using the factory ::create method.
LanguageNegotiationUserAdmin::create function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Creates an instance of the plugin.
LanguageSwitchingTest::createHomePage function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Create a node and set it as the home pages.
LanguageTestController::create function core/modules/language/tests/language_test/src/Controller/LanguageTestController.php Instantiates a new instance of this class.
LanguageTestTrait::createLanguageFromLangcode function core/modules/language/tests/src/Traits/LanguageTestTrait.php Creates a configurable language object from a langcode.
LatestRevision::create function core/modules/views/src/Plugin/views/filter/LatestRevision.php Creates an instance of the plugin.
LatestTranslationAffectedRevision::create function core/modules/views/src/Plugin/views/filter/LatestTranslationAffectedRevision.php Creates an instance of the plugin.
LayoutBuilder::create function core/modules/layout_builder/src/Element/LayoutBuilder.php Creates an instance of the plugin.
LayoutBuilderDisableForm::create function core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php Instantiates a new instance of this class.
LayoutBuilderEntityViewDisplay::createCopy function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Creates a duplicate of the entity display object on a different view mode.
LayoutBuilderEntityViewDisplayResourceTestBase::createEntity function core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php Creates the entity to be tested.

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