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
DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without the proper interface.
DefaultPluginManagerTest::testCreateInstanceWithJustValidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins with the proper interface.
DefaultSelection::create function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Creates an instance of the plugin.
DefaultSelection::createNewEntity function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Creates a new entity object that can be used as a valid reference.
DefaultSelectionDeriver::create function core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php Creates a new class instance.
DefaultsEntityForm::create function core/modules/layout_builder/src/Form/DefaultsEntityForm.php Instantiates a new instance of this class.
DefaultsSectionStorage::create function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Creates an instance of the plugin.
DefaultsSectionStorageTest::testExtractEntityFromRouteCreate function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::extractEntityFromRoute
DefaultTableMapping::create function core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php Initializes the table mapping.
DefaultViewRecentCommentsTest::$commentsCreated property core/modules/comment/tests/src/Functional/Views/DefaultViewRecentCommentsTest.php Will hold the comments created for testing.
DefaultViewsTest::createTerm function core/modules/views/tests/src/Functional/DefaultViewsTest.php Returns a new term with random properties in vocabulary $vid.
DefaultWorkspaceHandler::createInstance function core/modules/workspaces/src/Entity/Handler/DefaultWorkspaceHandler.php Instantiates a new instance of this entity handler.
DeleteAction::create function core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php Creates an instance of the plugin.
DeletedWorkspaceConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php Instantiates a new instance of this class.
DeleteMultipleForm::create function core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php Instantiates a new instance of this class.
Dependency::createFromString function core/lib/Drupal/Core/Extension/Dependency.php Creates a new instance of this class from a dependency string.
DependencyTest::providerCreateFromString function core/tests/Drupal/Tests/Core/Extension/DependencyTest.php Data provider for testCreateFromString.
DependencyTest::testCreateFromString function core/tests/Drupal/Tests/Core/Extension/DependencyTest.php @covers ::createFromString
@dataProvider providerCreateFromString
DevelopmentSettingsForm::create function core/modules/system/src/Form/DevelopmentSettingsForm.php Instantiates a new instance of this class.
DirectoryTest::testFileCreateNewFilepath function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests the file paths of newly created files.
DiscardLayoutChangesForm::create function core/modules/layout_builder/src/Form/DiscardLayoutChangesForm.php Instantiates a new instance of this class.
DocParserTest::createTestParser function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
Download::create function core/modules/migrate/src/Plugin/migrate/process/Download.php Creates an instance of the plugin.
DownloadTest::testFileCreateUrl function core/modules/file/tests/src/Functional/DownloadTest.php Test FileUrlGeneratorInterface::generateString()
DriverSpecificSchemaTestBase::providerTestSchemaCreateTablePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Provides test cases for SchemaTest::testSchemaCreateTablePrimaryKey().
DriverSpecificTransactionTestBase::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Create a Drupal savepoint transaction after root.
DriverSpecificTransactionTestBase::createRootTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Create a root Drupal transaction.
DrupalCoreComposer::createFromPath function composer/Generator/Util/DrupalCoreComposer.php DrupalCoreComposer factory.
DrupalKernel::createFromRequest function core/lib/Drupal/Core/DrupalKernel.php Create a DrupalKernel object from a request.
DrupalSqlBase::create function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Creates an instance of the plugin.
DrupalTestBrowser::createResponse function core/tests/Drupal/Tests/DrupalTestBrowser.php Converts a Guzzle response to a BrowserKit response.
DuplicateInfoFileValidatorTest::createFileAtPath function core/modules/package_manager/tests/src/Kernel/DuplicateInfoFileValidatorTest.php Creates the file at the root directory.
DynamicLocalTasks::create function core/modules/media/src/Plugin/Derivative/DynamicLocalTasks.php Creates a new class instance.
DynamicLocalTasks::create function core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php Creates a new class instance.
EarlyRenderingTestController::create function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php Instantiates a new instance of the implementing class using autowiring.
EditorFileReference::create function core/modules/editor/src/Plugin/Filter/EditorFileReference.php Creates an instance of the plugin.
EditorResourceTestBase::createEntity function core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php Creates the entity to be tested.
EditorTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/EditorTest.php Creates another entity to be tested.
EditorTest::createEntity function core/modules/jsonapi/tests/src/Functional/EditorTest.php Creates the entity to be tested.
ElementInfoManager::createInstance function core/lib/Drupal/Core/Render/ElementInfoManager.php
ElementInterface::create function core/modules/config_translation/src/FormElement/ElementInterface.php Creates a form element instance from a schema definition.
EmailAction::create function core/lib/Drupal/Core/Action/Plugin/Action/EmailAction.php Creates an instance of the plugin.
EmptySource::create function core/modules/migrate_drupal/src/Plugin/migrate/source/EmptySource.php Creates an instance of the plugin.
EnabledExtensionsValidatorTest::createExtension function core/modules/package_manager/tests/src/Kernel/EnabledExtensionsValidatorTest.php Returns a mocked extension object for a package.
EnforcedResponse::createFromException function core/lib/Drupal/Core/Form/EnforcedResponse.php Constructs a new enforced response from the given exception.
Entity::create function core/modules/views/src/Plugin/views/argument_validator/Entity.php Creates an instance of the plugin.
Entity::create function core/modules/views/src/Plugin/views/area/Entity.php Creates an instance of the plugin.
Entity::create function core/modules/migrate/src/Plugin/migrate/destination/Entity.php Creates an instance of the plugin.
EntityAccess::create function core/modules/workspaces/src/EntityAccess.php Instantiates a new instance of this class.
EntityAccess::entityCreateAccess function core/modules/workspaces/src/EntityAccess.php Implements a hook bridge for hook_entity_create_access().

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