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
CacheFactoryTest.php file core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
CacheFactoryTest::testCacheFactoryWithCustomizedDefaultBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Tests that the cache factory falls back to customized default service.
CacheFactoryTest::testCacheFactoryWithDefaultBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Tests that the cache factory uses the correct default bin backend.
CacheFactoryTest::testCacheFactoryWithDefaultSettings function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Tests that the cache factory falls back to the built-in default service.
CacheFactoryTest::testCacheFactoryWithSpecifiedPerBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Tests that the cache factory picks the correct per-bin service.
cache_factory service core/core.services.yml Drupal\Core\Cache\CacheFactory
CanaryTransportFactory class core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php A transport factory only used to test the transport factory adapter.
CanaryTransportFactory.php file core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php
CanaryTransportFactory::create function core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php
CanaryTransportFactory::getSupportedSchemes function core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransportFactory.php
CancelUser::$tempStoreFactory property core/modules/user/src/Plugin/Action/CancelUser.php The tempstore factory.
ChainedFastBackendFactory class core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php Defines the chained fast cache backend factory.
ChainedFastBackendFactory.php file core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
ChainedFastBackendFactory::$consistentServiceName property core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php The service name of the consistent backend factory.
ChainedFastBackendFactory::$container property core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php The service container.
ChainedFastBackendFactory::$fastServiceName property core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php The service name of the fast backend factory.
ChainedFastBackendFactory::get function core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php Instantiates a chained, fast cache backend class for a given cache bin.
ChainedFastBackendFactory::setContainer function core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php Sets the service container.
ChainedFastBackendFactory::__construct function core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php Constructs ChainedFastBackendFactory object.
ChainedFastBackendFactoryTest class core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php Tests Drupal\Core\Cache\ChainedFastBackendFactory.
ChainedFastBackendFactoryTest.php file core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php
ChainedFastBackendFactoryTest::testDifferentServices function core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php Test if different names are provided for consistent and fast services.
ChainedFastBackendFactoryTest::testIdenticalService function core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php Test if the same name is provided for consistent and fast services.
ClientFactory class core/lib/Drupal/Core/Http/ClientFactory.php Helper class to construct a HTTP client with Drupal specific config.
ClientFactory.php file core/lib/Drupal/Core/Http/ClientFactory.php
ClientFactory::$stack property core/lib/Drupal/Core/Http/ClientFactory.php The handler stack.
ClientFactory::fromOptions function core/lib/Drupal/Core/Http/ClientFactory.php Constructs a new client object from some configuration.
ClientFactory::__construct function core/lib/Drupal/Core/Http/ClientFactory.php Constructs a new ClientFactory instance.
ClientFactoryTest class core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Tests Drupal\Core\Http\ClientFactory.
ClientFactoryTest.php file core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php
ClientFactoryTest::$factory property core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php The client factory under test.
ClientFactoryTest::providerTestCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Data provider for testCreateFromOptions.
ClientFactoryTest::setUp function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php
ClientFactoryTest::testCreateFromOptions function core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php Tests create from options.
CommentAdminOverview::$tempStoreFactory property core/modules/comment/src/Form/CommentAdminOverview.php The tempstore factory.
Condition::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/Condition.php Creates an object holding a group of conditions.
ConditionInterface::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Creates an object holding a group of conditions.
config.factory service core/core.services.yml Drupal\Core\Config\ConfigFactory
ConfigEntityQueryTest::$factory property core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php The query factory used to construct all queries in the test.
ConfigEntityStorage::$configFactory property core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php The config factory service.
ConfigEntityStorageTest::$configFactory property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php The config factory service.
ConfigExistsConstraintValidator::$configFactory property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php The config factory service.
ConfigFactory class core/lib/Drupal/Core/Config/ConfigFactory.php Defines the configuration object factory.
ConfigFactory.php file core/lib/Drupal/Core/Config/ConfigFactory.php
ConfigFactory::$cache property core/lib/Drupal/Core/Config/ConfigFactory.php Cached configuration objects.
ConfigFactory::$configFactoryOverrides property core/lib/Drupal/Core/Config/ConfigFactory.php An array of config factory override objects ordered by priority.
ConfigFactory::$eventDispatcher property core/lib/Drupal/Core/Config/ConfigFactory.php An event dispatcher instance to use for configuration events.
ConfigFactory::$storage property core/lib/Drupal/Core/Config/ConfigFactory.php A storage instance for reading and writing configuration data.
ConfigFactory::$typedConfigManager property core/lib/Drupal/Core/Config/ConfigFactory.php The typed config manager.
ConfigFactory::addOverride function core/lib/Drupal/Core/Config/ConfigFactory.php Adds config factory override services.

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