Search for create

  1. Search 7.x for create
  2. Search 8.9.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::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
DefaultSelection::create function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
DefaultSelection::createNewEntity function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
DefaultSelectionDeriver::create function core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php
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[[api-linebreak]]
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
DeletedWorkspaceConstraintValidator::create function core/modules/workspaces/src/Plugin/Validation/Constraint/DeletedWorkspaceConstraintValidator.php
DeleteMultipleForm::create function core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
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[[api-linebreak]]
@dataProvider providerCreateFromString
DeprecatedCsrfTokenController::create function core/modules/system/tests/modules/csrf_test/src/Controller/DeprecatedCsrfTokenController.php
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
DownloadTest::testFileCreateUrl function core/modules/file/tests/src/Functional/DownloadTest.php Test FileUrlGeneratorInterface::generateString()
DrupalCoreComposer::createFromPath function composer/Generator/Util/DrupalCoreComposer.php DrupalCoreComposer factory.
DrupalImageCaption::create function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
DrupalKernel::createFromRequest function core/lib/Drupal/Core/DrupalKernel.php Create a DrupalKernel object from a request.
DrupalMedia::create function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMedia.php
DrupalMediaLibrary::create function core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php
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.
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
EarlyRenderingTestController::create function core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php
EditorFileReference::create function core/modules/editor/src/Plugin/Filter/EditorFileReference.php
EditorImageDialog::create function core/modules/editor/src/Form/EditorImageDialog.php
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
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
Entity::create function core/modules/views/src/Plugin/views/area/Entity.php
Entity::create function core/modules/migrate/src/Plugin/migrate/destination/Entity.php
EntityAccess::create function core/modules/workspaces/src/EntityAccess.php
EntityAccess::entityCreateAccess function core/modules/workspaces/src/EntityAccess.php Implements a hook bridge for hook_entity_create_access().
EntityAccessCheckTest::createRouteMatchForObject function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Wrap any object with a route match, and return that.

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