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
StringStorageInterface::createTranslation function core/modules/locale/src/StringStorageInterface.php Creates a string translation object bound to this storage but not saved.
StubConnection::createDatabase function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Creates a database.
StubTestTrait::createEntityStub function core/modules/migrate_drupal/src/Tests/StubTestTrait.php Create a stub of the given entity type.
SubformState::createForSubform function core/lib/Drupal/Core/Form/SubformState.php Creates a new instance for a subform.
SwitchShortcutSet::create function core/modules/shortcut/src/Form/SwitchShortcutSet.php Instantiates a new instance of this class.
SwitchToLiveForm::create function core/modules/workspaces/src/Form/SwitchToLiveForm.php Instantiates a new instance of this class.
SymfonyMailer::create function core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Creates an instance of the plugin.
SyndicateBlock::create function core/modules/node/src/Plugin/Block/SyndicateBlock.php Creates an instance of the plugin.
SystemBrandingBlock::create function core/modules/system/src/Plugin/Block/SystemBrandingBlock.php Creates an instance of the plugin.
SystemBrandingOffCanvasForm::create function core/modules/system/src/Form/SystemBrandingOffCanvasForm.php Instantiates a new instance of this class.
SystemBreadcrumbBlock::create function core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php Creates an instance of the plugin.
SystemController::create function core/modules/system/src/Controller/SystemController.php Instantiates a new instance of the implementing class using autowiring.
SystemInfoController::create function core/modules/system/src/Controller/SystemInfoController.php Instantiates a new instance of this class.
SystemMenuBlock::create function core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Creates a new class instance.
SystemMenuBlock::create function core/modules/system/src/Plugin/Block/SystemMenuBlock.php Creates an instance of the plugin.
SystemMenuNavigationBlock::create function core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Creates a new class instance.
SystemMenuOffCanvasForm::create function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Instantiates a new instance of this class.
TableDragTestForm::create function core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php Instantiates a new instance of this class.
TarTest::testCreateArchive function core/tests/Drupal/KernelTests/Core/Archiver/TarTest.php Tests that the Tar archive is created if it does not exist.
TaxonomyFieldFilterTest::createTermWithProperties function core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php Creates a taxonomy term with specified name and other properties.
TaxonomyIndexTid::create function core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Creates an instance of the plugin.
TaxonomyIndexTid::create function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Creates an instance of the plugin.
TaxonomyPermissions::create function core/modules/taxonomy/src/TaxonomyPermissions.php Instantiates a new instance of this class.
TaxonomyTermHierarchyConstraintValidator::create function core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Instantiates a new instance of this class.
TaxonomyTestBase::createTerm function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php Creates and returns a taxonomy term.
TaxonomyTestBase::createTerm function core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php Creates and returns a taxonomy term.
TaxonomyTestTrait::createTaxonomyTermRevision function core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php Creates a new revision for a given taxonomy term.
TaxonomyTestTrait::createTerm function core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php Returns a new term with random properties given a vocabulary.
TaxonomyTestTrait::createVocabulary function core/modules/taxonomy/tests/src/Traits/TaxonomyTestTrait.php Returns a new vocabulary with random properties.
TemplateProjectTestBase::createTestProject function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Creates a test project from a given template and installs Drupal.
TemplateProjectTestBase::createVendorRepository function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Creates a Composer repository for all dependencies of the test project.
TermAccessControlHandler::checkCreateAccess function core/modules/taxonomy/src/TermAccessControlHandler.php Performs create access checks.
TermCacheTagsTest::createEntity function core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php Creates the entity to be tested.
TermParentsTest::createTerm function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Creates a term, saves it and returns it.
TermResourceTestBase::createEntity function core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php Creates the entity to be tested.
TermSelection::createNewEntity function core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php Creates a new entity object that can be used as a valid reference.
TermStorage::create function core/modules/taxonomy/src/TermStorage.php
TermTest::createEntity function core/modules/jsonapi/tests/src/Functional/TermTest.php Creates the entity to be tested.
TestAccessBlock::create function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Creates an instance of the plugin.
TestContainerDerivativeDiscovery::create function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php Creates a new class instance.
TestContent::create function core/modules/system/tests/modules/router_test_directory/src/TestContent.php Instantiates a new instance of the implementing class using autowiring.
TestController::create function core/modules/system/tests/modules/token_test/src/Controller/TestController.php Instantiates a new instance of the implementing class using autowiring.
TestController::create function core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Instantiates a new instance of the implementing class using autowiring.
TestEntityFormInjected::create function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Instantiates a new instance of this class.
TestFileTransfer::createDirectoryJailed function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Creates a directory.
TestFormApiFormBlock::create function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Creates an instance of the plugin.
TestFormInjected::create function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Instantiates a new instance of this class.
TestLocalActionWithConfig::create function core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalActionWithConfig.php Creates an instance of the plugin.
TestPlaceholderingRenderCache::createPlaceholderAndRemember function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Create a placeholder for a renderable array and remember in a static cache.
TestRun::createNew function core/lib/Drupal/Core/Test/TestRun.php Returns a new test run object.

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