Search for factory

  1. Search 7.x for factory
  2. Search 9.5.x for factory
  3. Search 8.9.x for factory
  4. Search 11.x for factory
  5. Other projects
Title Object type File name Summary
DatabaseBackendFactory class core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php
DatabaseBackendFactory.php file core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php
DatabaseBackendFactory::$checksumProvider property core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php The cache tags checksum provider.
DatabaseBackendFactory::$connection property core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php The database connection.
DatabaseBackendFactory::get function core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php Gets DatabaseBackend for the specified cache bin.
DatabaseBackendFactory::getMaxRowsForBin function core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php Gets the max rows for the specified cache bin.
DatabaseBackendFactory::__construct function core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php Constructs the DatabaseBackendFactory object.
DatabaseBackendFactoryTest class core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php @coversDefaultClass \Drupal\Core\Cache\DatabaseBackendFactory[[api-linebreak]]
@group Cache
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 plugin instance based on the provided ID and configuration.
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.
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 Gets the plugin 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 Creates an instance of the plugin.
ExecutionContextFactory class core/lib/Drupal/Core/TypedData/Validation/ExecutionContextFactory.php Defines an execution factory for the Typed Data validator.
ExecutionContextFactory class core/lib/Drupal/Core/Validation/ExecutionContextFactory.php Defines an execution factory for the Symfony validator.
ExecutionContextFactory.php file core/lib/Drupal/Core/Validation/ExecutionContextFactory.php

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