Search for factory

  1. Search 7.x for factory
  2. Search 8.9.x for factory
  3. Search 10.3.x for factory
  4. Search 11.x for factory
  5. Other projects
Title Object type File name Summary
DatabaseBackendFactoryTest.php file core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php
DatabaseBackendFactoryTest::getProvider function core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php
DatabaseBackendFactoryTest::testGet function core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php @covers ::__construct[[api-linebreak]]
@covers ::get[[api-linebreak]]
@dataProvider getProvider
DateFormatter::$configFactory property core/lib/Drupal/Core/Datetime/DateFormatter.php The configuration factory.
DbUpdateController::$keyValueExpirableFactory property core/modules/system/src/Controller/DbUpdateController.php The keyvalue expirable factory.
DbUpdateNegotiator::$configFactory property core/modules/system/src/Theme/DbUpdateNegotiator.php The config factory.
DefaultFactory class core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Default plugin factory.
DefaultFactory.php file core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
DefaultFactory::$discovery property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php The object that retrieves the definitions of the plugins that this factory instantiates.
DefaultFactory::$interface property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Defines an interface each plugin should implement.
DefaultFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Creates a pre-configured instance of a plugin.
DefaultFactory::getPluginClass function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Finds the class relevant for a given plugin.
DefaultFactory::__construct function core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Constructs a Drupal\Component\Plugin\Factory\DefaultFactory object.
DefaultFactoryTest class core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @coversDefaultClass \Drupal\Component\Plugin\Factory\DefaultFactory[[api-linebreak]]
@group Plugin
DefaultFactoryTest.php file core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultFetcher::$httpClientFactory property core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php The HTTP client to fetch the feed data with.
DefaultNegotiator::$configFactory property core/lib/Drupal/Core/Theme/DefaultNegotiator.php The system theme config object.
DefaultPluginManager::getFactory function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
DefaultProcessor::$configFactory property core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php Contains the configuration object factory.
Drupal::configFactory function core/lib/Drupal.php Retrieves the configuration factory.
EditorConfigTranslationSubscriber::$configFactory property core/modules/editor/src/EventSubscriber/EditorConfigTranslationSubscriber.php The config factory.
EditorFileReference::$imageFactory property core/modules/editor/src/Plugin/Filter/EditorFileReference.php The image factory.
EntityConfigBase::$configFactory property core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php The configuration factory.
EntityFieldManager::$keyValueFactory property core/lib/Drupal/Core/Entity/EntityFieldManager.php The key-value factory.
EntityFieldManagerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php The keyvalue factory.
EntityLastInstalledSchemaRepository::$keyValueFactory property core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php The key-value factory.
EntityReferenceEntityFormatter::$loggerFactory property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The logger factory.
EntityResource::$configFactory property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The config factory.
EntityTestContainerFactoryPlugin class core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory.
EntityTestContainerFactoryPlugin.php file core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php
EntityTestContainerFactoryPlugin::create function core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/EntityTestContainerFactoryPlugin.php
ExecutionContext::getMetadataFactory function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
ExecutionContextFactory class core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php Defines an execution factory for the Typed Data validator.
ExecutionContextFactory.php file core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
ExecutionContextFactory::$translationDomain property core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
ExecutionContextFactory::$translator property core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
ExecutionContextFactory::createContext function core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php
ExecutionContextFactory::__construct function core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php Constructs a new ExecutionContextFactory instance.
FactoryInterface interface core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php Factory interface implemented by all plugin factories.
FactoryInterface.php file core/lib/Drupal/Component/Plugin/Factory/FactoryInterface.php

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