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
PluginManagerDependentValidatorTrait::create function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PostCreateEvent class core/modules/package_manager/src/Event/PostCreateEvent.php Event fired after a stage directory has been created.
PostCreateEvent.php file core/modules/package_manager/src/Event/PostCreateEvent.php
PreCreateEvent class core/modules/package_manager/src/Event/PreCreateEvent.php Event fired before a stage directory is created.
PreCreateEvent.php file core/modules/package_manager/src/Event/PreCreateEvent.php
PreCreateEvent::$excludedPaths property core/modules/package_manager/src/Event/PreCreateEvent.php The list of paths to exclude from the stage directory.
PreCreateEvent::__construct function core/modules/package_manager/src/Event/PreCreateEvent.php Constructs a PreCreateEvent object.
PreExistingConfigException::create function core/lib/Drupal/Core/Config/PreExistingConfigException.php Creates an exception for an extension and a list of configuration objects.
PrepareModulesEntityUninstallForm::create function core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php Instantiates a new instance of this class.
PrivateKey::create function core/lib/Drupal/Core/PrivateKey.php Creates a new private key.
PrivateTempStore::createKey function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Ensures that the key is unique for a user.
ProcessFactory::create function core/modules/package_manager/src/ProcessFactory.php
ProcessFactory::create function core/modules/package_manager/tests/modules/fixture_manipulator/src/ProcessFactory.php
ProcessField::create function core/modules/field/src/Plugin/migrate/process/ProcessField.php Creates an instance of the plugin.
ProfileTranslationHandler::hasCreatedTime function core/modules/user/src/ProfileTranslationHandler.php Checks whether the entity type supports creation time natively.
ProjectCoreCompatibility::createMessageFromCoreCompatibility function core/modules/update/src/ProjectCoreCompatibility.php Creates core a compatibility message from a semantic version constraint.
ProjectRelease::createFromArray function core/modules/update/src/ProjectRelease.php Creates a ProjectRelease instance from an array.
ProjectReleaseTest::providerCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArray().
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::providerCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayMissingField().
ProjectReleaseTest::testCreateFromArray function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests creating with valid data.
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.
ProjectReleaseTest::testCreateFromArrayMissingField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions with missing fields.
ProjectSecurityData::createFromProjectDataAndReleases function core/modules/update/src/ProjectSecurityData.php Creates a ProjectSecurityData object from project data and releases.
ProjectSecurityRequirement::createFromProjectDataAndSecurityCoverageInfo function core/modules/update/src/ProjectSecurityRequirement.php Creates a ProjectSecurityRequirement object from project data.
ProtectedUserFieldConstraintValidator::create function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Instantiates a new instance of this class.
ProtectedUserFieldConstraintValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
PsrResponseSubscriberTest::createEvent function core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php Sets up an event that returns $controllerResult.
QueryAggregate::createSqlAlias function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds a sql alias as expected in the result.
QueueInterface::createItem function core/lib/Drupal/Core/Queue/QueueInterface.php Adds a queue item and store it directly to the queue.
QueueInterface::createQueue function core/lib/Drupal/Core/Queue/QueueInterface.php Creates a queue.
QueueWorkerManager::createInstance function core/lib/Drupal/Core/Queue/QueueWorkerManager.php
Raw::create function core/modules/views/src/Plugin/views/argument_default/Raw.php Creates an instance of the plugin.
ReadOnlyStorage::createCollection function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Creates a collection on the storage.
Recipe::createFromDirectory function core/lib/Drupal/Core/Recipe/Recipe.php Creates a recipe object from the provided path.
RecipeConfigStorageWrapper::createCollection function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Creates a collection on the storage.
RecipeConfigStorageWrapper::createStorageFromArray function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Creates a single config storage for an array of storages.
RecipeConfigStorageWrapperTest::testCreateCollection function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test creating a collection passes the name through to the child storages.
RecipeExtensionConfigStorage::createCollection function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Creates a collection on the storage.
RecipeOverrideConfigStorage::createCollection function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Creates a collection on the storage.
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php @testWith ["no_extensions", "No extensions" , "Testing", [], "A recipe description"]
["install_two_modules", "Install two modules" , "Content type", ["filter",…
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests creating a recipe from an empty directory.
RecipeTestTrait::createRecipe function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php Creates a recipe in a temporary directory.
RecursiveValidatorFactory::createValidator function core/modules/file/src/Validation/RecursiveValidatorFactory.php Creates a new RecursiveValidator.
RedirectFormBlock::create function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Creates an instance of the plugin.
ReflectionFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php Creates a plugin instance based on the provided ID and configuration.
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @covers ::createInstance
@dataProvider providerGetInstanceArguments
RegionalForm::create function core/modules/system/src/Form/RegionalForm.php Instantiates a new instance of this class.
Relationship::createFromEntityReferenceField function core/modules/jsonapi/src/JsonApiResource/Relationship.php Creates a new Relationship from an entity reference field.

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