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
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.
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.
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::createEventMock function core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php Sets up an alias event that return $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
QuickEditAutocompleteTermTest::createTerm function core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditAutocompleteTermTest.php Returns a new term with random name and description in $this->vocabulary.
QuickEditController::create function core/modules/quickedit/src/QuickEditController.php Instantiates a new instance of this class.
QuickEditEntityFieldAccessCheckTest::createMockEntity function core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php Returns a mock entity.
QuickEditFieldForm::create function core/modules/quickedit/src/Form/QuickEditFieldForm.php Instantiates a new instance of this class.
QuickEditImageController::create function core/modules/image/src/Controller/QuickEditImageController.php Instantiates a new instance of this class.
QuickEditIntegration::create function core/modules/layout_builder/src/QuickEditIntegration.php Instantiates a new instance of this class.
QuickEditIntegrationTest::createBlockContent function core/modules/settings_tray/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php Creates a custom block.
QuickEditIntegrationTest::createBlockContentType function core/modules/settings_tray/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php Creates a custom block type (bundle).
QuickEditTestBase::createFieldWithStorage function core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php Creates a field.
Raw::create function core/modules/views/src/Plugin/views/argument_default/Raw.php Creates an instance of the plugin.
RdfMappingResourceTestBase::createEntity function core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php Creates the entity to be tested.
RdfMappingTest::createEntity function core/modules/jsonapi/tests/src/Functional/RdfMappingTest.php Creates the entity to be tested.
ReadOnlyStorage::createCollection function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Creates a collection on the storage.
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 pre-configured instance of a plugin.
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.
RenderCache::createCacheID function core/lib/Drupal/Core/Render/RenderCache.php Creates the cache ID for a renderable element.
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
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.
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.

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