Search for factory

  1. Search 7.x for factory
  2. Search 9.5.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
ConfigInstaller::$configFactory property core/lib/Drupal/Core/Config/ConfigInstaller.php The configuration factory.
ConfigManager::$configFactory property core/lib/Drupal/Core/Config/ConfigManager.php The configuration factory.
ConfigManager::getConfigFactory function core/lib/Drupal/Core/Config/ConfigManager.php
ConfigManagerInterface::getConfigFactory function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Gets the config factory.
ConfigNamesMapper::$configFactory property core/modules/config_translation/src/ConfigNamesMapper.php The configuration factory.
ConfigSubscriber::$configFactory property core/modules/language/src/EventSubscriber/ConfigSubscriber.php The configuration factory.
ConfigurableLanguageManager::$configFactory property core/modules/language/src/ConfigurableLanguageManager.php The configuration storage service.
ConfigurableLanguageManager::$configFactoryOverride property core/modules/language/src/ConfigurableLanguageManager.php The language configuration override service.
ConfigureBlockFormBase::$pluginFormFactory property core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php The plugin form manager.
ConfigureSectionForm::$pluginFormFactory property core/modules/layout_builder/src/Form/ConfigureSectionForm.php The plugin form manager.
ConstraintValidatorFactory class core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Defines a constraint validator factory that works with container injection.
ConstraintValidatorFactory.php file core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::getInstance function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::__construct function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Constructs a new ConstraintValidatorFactory.
ContactPageAccess::$configFactory property core/modules/contact/src/Access/ContactPageAccess.php The contact settings config object.
ContainerFactory class core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php Plugin factory which passes a container to a create method.
ContainerFactory.php file core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php
ContainerFactory::createInstance function core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php
ContainerFactoryPluginInterface interface core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Defines an interface for pulling plugin dependencies from the container.
ContainerFactoryPluginInterface.php file core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php
ContainerFactoryPluginInterface::create function core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php Creates an instance of the plugin.
ContainerTest::testGetForFactoryClass function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for factories via class works (Symfony 2.7.0).
ContainerTest::testGetForFactoryService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests Container::get() for factories via services (Symfony 2.7.0).
ContainerTest::testGetForWrongFactory function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for wrong factories works correctly.
ContentModerationWorkflowConfigTest::$configFactory property core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
ContextualLinkManagerTest::$factory property core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php The plugin factory used in the test.
ControllerBase::$configFactory property core/lib/Drupal/Core/Controller/ControllerBase.php The configuration factory.
ControllerResolver::$httpMessageFactory property core/lib/Drupal/Core/Controller/ControllerResolver.php The PSR-7 converter.
ControllerResolverTest::$httpMessageFactory property core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php The PSR-7 converter.
Cron::$queueFactory property core/lib/Drupal/Core/Cron.php The queue service.
CustomAccessCheck::$argumentsResolverFactory property core/lib/Drupal/Core/Access/CustomAccessCheck.php The arguments resolver.
CustomAccessCheckTest::$argumentsResolverFactory property core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php The mocked arguments resolver.
CustomPageExceptionHtmlSubscriber::$configFactory property core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php The configuration factory.
CustomPageExceptionHtmlSubscriberTest::$configFactory property core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php The mocked config factory
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::$settings property core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php The site settings.
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.

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