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
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 Instantiates a new instance of the implementing class using autowiring.
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 within the jailed environment.
TestFormApiFormBlock::create function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Instantiates a new instance of the implementing class using autowiring.
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.
TestRunnerKernel::createFromRequest function core/lib/Drupal/Core/Test/TestRunnerKernel.php Create a DrupalKernel object from a request.
TestRunResultsStorageInterface::createNew function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Gets a new unique identifier for a test run.
TestRunTest::testCreateAndGet function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php Tests create and get.
TestRunTest::testCreateAndRemove function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php Tests create and remove.
TestToolkit::create function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Instantiates a new instance of the implementing class using autowiring.
TextEditorObjectDependentValidatorTrait::createTextEditorObjectFromContext function core/modules/ckeditor5/src/Plugin/Validation/Constraint/TextEditorObjectDependentValidatorTrait.php Creates a text editor object from the execution context.
TextWithSummaryItemTest::createField function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Creates a text_with_summary field storage and field.
ThemeExperimentalConfirmForm::create function core/modules/system/src/Form/ThemeExperimentalConfirmForm.php Instantiates a new instance of this class.
ThemeExtensionList::createExtensionInfo function core/lib/Drupal/Core/Extension/ThemeExtensionList.php Creates the info value for an extension object.
ThemeInstallController::create function core/modules/system/tests/modules/nightwatch_theme_install_utility/src/Controller/ThemeInstallController.php Instantiates a new instance of the implementing class using autowiring.
ThemeLocalTask::create function core/modules/system/src/Plugin/Derivative/ThemeLocalTask.php Creates a new class instance.
ThemeLocalTask::create function core/modules/block/src/Plugin/Derivative/ThemeLocalTask.php Creates a new class instance.
ThemeNegotiatorTest::createThemeNegotiator function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Creates a new theme negotiator instance.
ThemeSettings::create function core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php Instantiates a new instance of the implementing class using autowiring.
ThemeSettingsForm::create function core/modules/system/src/Form/ThemeSettingsForm.php Instantiates a new instance of this class.
ThumbnailDownloader::create function core/modules/media/src/Plugin/QueueWorker/ThumbnailDownloader.php Creates an instance of the plugin.
Tid::create function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php Instantiates a new instance of the implementing class using autowiring.
Time::create function core/modules/views/src/Plugin/views/cache/Time.php Instantiates a new instance of the implementing class using autowiring.
TimeInterval::create function core/modules/views/src/Plugin/views/field/TimeInterval.php Instantiates a new instance of the implementing class using autowiring.
TimestampAgoFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Instantiates a new instance of the implementing class using autowiring.
TimestampFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Instantiates a new instance of the implementing class using autowiring.
TimestampItemNormalizerTest::createTimestampItemProphecy function core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php Creates a TimestampItem prophecy.
ToolkitGdTest::testCreateImageFromScratch function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Tests creation of image from scratch, and saving to storage.
ToolkitGdTest::testCreateNewFailures function core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php Tests failures of the 'create_new' operation.
TransactionTest::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Create a Drupal savepoint transaction after root.
TransactionTest::createRootTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Create a root Drupal transaction.
TranslatableFieldTest::testSectionsClearedOnCreateTranslation function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests that sections on cleared when creating a new translation.
TranslatableRevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.
TranslatableStorageInterface::createTranslation function core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php Constructs a new entity translation object, without permanently saving it.
TranslatableStringFactory::createDomainOptions function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslatableMessage function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslationParameters function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringTest::testCreateTranslatableString function core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php Tests various ways of creating a translatable string.
TranslateFormBase::create function core/modules/locale/src/Form/TranslateFormBase.php Instantiates a new instance of this class.
TranslationStatusForm::create function core/modules/locale/src/Form/TranslationStatusForm.php Instantiates a new instance of this class.
TranslationStatusForm::createInfoString function core/modules/locale/src/Form/TranslationStatusForm.php Provides debug info for projects in case translation files are not found.
TranslationStatusInterface::TRANSLATION_CREATED constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying a newly created translation.

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