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
CacheFactoryTest.php file core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
CacheFactoryTest::testCacheFactoryWithCustomizedDefaultBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory falls back to customized default service.
CacheFactoryTest::testCacheFactoryWithDefaultBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory uses the correct default bin backend.
CacheFactoryTest::testCacheFactoryWithDefaultSettings function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory falls back to the built-in default service.
CacheFactoryTest::testCacheFactoryWithSpecifiedPerBinBackend function core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php Test that the cache factory picks the correct per-bin service.
cache_factory service core/core.services.yml Drupal\Core\Cache\CacheFactory
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::$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::__construct function core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php Constructs ChainedFastBackendFactory object.
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 @coversDefaultClass \Drupal\Core\Http\ClientFactory[[api-linebreak]]
@group Http
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 @covers ::fromOptions[[api-linebreak]]
@dataProvider providerTestCreateFromOptions
Color::$configFactory property core/modules/color/src/Plugin/migrate/destination/Color.php The configuration factory.
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.
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.
ConfigFactory::clearStaticCache function core/lib/Drupal/Core/Config/ConfigFactory.php Clears the config factory static cache.
ConfigFactory::createConfigObject function core/lib/Drupal/Core/Config/ConfigFactory.php Creates a configuration object.
ConfigFactory::doGet function core/lib/Drupal/Core/Config/ConfigFactory.php Returns a configuration object for a given name.
ConfigFactory::doLoadMultiple function core/lib/Drupal/Core/Config/ConfigFactory.php Returns a list of configuration objects for the given names.
ConfigFactory::get function core/lib/Drupal/Core/Config/ConfigFactory.php Returns an immutable configuration object for a given name.
ConfigFactory::getCacheKeys function core/lib/Drupal/Core/Config/ConfigFactory.php The cache keys associated with the state of the config factory.
ConfigFactory::getConfigCacheKey function core/lib/Drupal/Core/Config/ConfigFactory.php Gets the static cache key for a given config name.
ConfigFactory::getConfigCacheKeys function core/lib/Drupal/Core/Config/ConfigFactory.php Gets all the cache keys that match the provided config name.
ConfigFactory::getEditable function core/lib/Drupal/Core/Config/ConfigFactory.php Returns an mutable configuration object for a given name.
ConfigFactory::getSubscribedEvents function core/lib/Drupal/Core/Config/ConfigFactory.php

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