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 10.3.x for factory
  5. Other projects
Title Object type File name Summary
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 Tests Drupal\Core\Cache\DatabaseBackendFactory.
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 Tests get.
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 gets the plugin definitions 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 Tests Drupal\Component\Plugin\Factory\DefaultFactory.
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.
Drupal\Core\File\MimeType\MimeTypeMapFactory service core/core.services.yml
Drupal\Core\Mailer\TransportServiceFactory service core/modules/mailer/mailer.services.yml
Drupal\Core\Mailer\Transport\SendmailCommandValidationTransportFactory service core/modules/mailer/mailer.services.yml
Drupal\fixture_manipulator\ProcessFactory service core/modules/package_manager/tests/modules/fixture_manipulator/fixture_manipulator.services.yml
Drupal\mailer_transport_factory_kernel_test\Transport\CanaryTransportFactory service core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/mailer_transport_factory_kernel_test.services.yml
Drupal\package_manager\TranslatableStringFactory service core/modules/package_manager/package_manager.services.yml
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.
EntityQueryServiceDeprecationTest::testFactoryOverriddenService function core/modules/pgsql/tests/src/Kernel/EntityQueryServiceDeprecationTest.php Tests getting the backend overridden service does not trigger deprecations.
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.

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