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
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
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.
RenderedEntity::create function core/modules/views/src/Plugin/views/field/RenderedEntity.php Creates an instance of the plugin.
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render
@covers ::doRender
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 Creates an instance of the plugin.
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 Instantiates a new instance of this class.
ResourceBase::create function core/modules/rest/src/Plugin/ResourceBase.php Creates an instance of the plugin.
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.
ResponseStatus::create function core/modules/system/src/Plugin/Condition/ResponseStatus.php Creates an instance of the plugin.
ResponsiveImageFormatter::create function core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php Creates an instance of the plugin.
ResponsiveImageStyleForm::create function core/modules/responsive_image/src/ResponsiveImageStyleForm.php Instantiates a new instance of this class.
ResponsiveImageStyleResourceTestBase::createEntity function core/modules/responsive_image/tests/src/Functional/Rest/ResponsiveImageStyleResourceTestBase.php Creates the entity to be tested.
ResponsiveImageStyleTest::createEntity function core/modules/jsonapi/tests/src/Functional/ResponsiveImageStyleTest.php Creates the entity to be tested.
RestExport::create function core/modules/rest/src/Plugin/views/display/RestExport.php Creates an instance of the plugin.

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