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
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 Instantiates a new instance of the implementing class using autowiring.
ReadOnlyStorage::createCollection function core/lib/Drupal/Core/Config/ReadOnlyStorage.php
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
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.
RecipeOverrideConfigStorage::createCollection function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests create from directory 2.
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 Instantiates a new instance of the implementing class using autowiring.
ReflectionFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @legacy-covers ::createInstance
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.
RenderedEntity::create function core/modules/views/src/Plugin/views/field/RenderedEntity.php Instantiates a new instance of the implementing class using autowiring.
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php Tests create placeholder property without lazy builder.
RenderPlaceholderMessageTestController::create function core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php Instantiates a new instance of this class.
RequestHandler::create function core/modules/rest/src/RequestHandler.php Instantiates a new instance of this class.
RequestHandler::createArgumentResolver function core/modules/rest/src/RequestHandler.php Creates an argument resolver, containing all REST parameters.
RequestPath::create function core/modules/system/src/Plugin/Condition/RequestPath.php Instantiates a new instance of the implementing class using autowiring.
RequestSanitizerTest::createRequestForTesting function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Creates a request and sets PHP globals for testing.
RequiredConfigDependenciesConstraintValidator::create function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php
ResourceBase::create function core/modules/rest/src/Plugin/ResourceBase.php Instantiates a new instance of the implementing class using autowiring.
ResourceFetcher::createResource function core/modules/media/src/OEmbed/ResourceFetcher.php Creates a Resource object from raw resource data.
ResourceObject::createFromEntity function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Creates a new ResourceObject from an entity.
ResourceResponseValidatorTest::createRequest function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a request object.
ResourceResponseValidatorTest::createResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a resource response from arbitrary JSON.
ResourceTestBase::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the first created entity in testPost().
ResourceTestBase::$secondCreatedEntityId property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The entity ID for the second created entity in testPost().
ResourceTestBase::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Creates another entity to be tested.
ResourceTestBase::createEntity function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Creates the entity to be tested.
ResourceTypeBuildEvent::createFromEntityTypeAndBundle function core/modules/jsonapi/src/ResourceType/ResourceTypeBuildEvent.php Creates a new ResourceTypeBuildEvent.
ResourceTypeRepository::createResourceType function core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php Creates a ResourceType value object for the given entity type + bundle.

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