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
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 Gets the config factory.
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.
ConstraintFactory class core/lib/Drupal/Core/Validation/ConstraintFactory.php Constraint plugin factory.
ConstraintFactory.php file core/lib/Drupal/Core/Validation/ConstraintFactory.php
ConstraintFactory::createInstance function core/lib/Drupal/Core/Validation/ConstraintFactory.php Creates a pre-configured instance of a plugin.
ConstraintFactoryTest class core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php @coversDefaultClass \Drupal\Core\Validation\ConstraintFactory[[api-linebreak]]
ConstraintFactoryTest.php file core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php
ConstraintFactoryTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php
ConstraintFactoryTest::testCreateInstance function core/tests/Drupal/KernelTests/Core/Validation/ConstraintFactoryTest.php @covers ::createInstance[[api-linebreak]]
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::$classResolver property core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php The class resolver.
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
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

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