Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 10.3.x for create
  4. Search 11.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.
DefaultProcessor::create function core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php Creates an instance of the plugin.
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
DefaultsSectionStorageTest::testGetSectionListFromIdCreate function core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @covers ::getSectionListFromId
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.
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
DeprecatedCsrfTokenController::create function core/modules/system/tests/modules/csrf_test/src/Controller/DeprecatedCsrfTokenController.php Instantiates a new instance of this class.
DirectoryTest::testFileCreateNewFilepath function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php This will take a directory and path, and find a valid filepath that is not
taken by another file.
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 file_create_url().
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.
DrupalMedia::create function core/modules/media/src/Plugin/CKEditorPlugin/DrupalMedia.php Creates an instance of the plugin.
DrupalMediaLibrary::create function core/modules/media_library/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php Creates an instance of the plugin.
DrupalSqlBase::create function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Creates an instance of the plugin.
drupal_xml_parser_create function core/includes/unicode.inc Prepares a new XML parser.
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 this class.
EditorFileReference::create function core/modules/editor/src/Plugin/Filter/EditorFileReference.php Creates an instance of the plugin.
EditorImageDialog::create function core/modules/editor/src/Form/EditorImageDialog.php Instantiates a new instance of this class.
EditorMediaDialog::create function core/modules/media/src/Form/EditorMediaDialog.php Instantiates a new instance of this class.
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.
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.