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 11.x for factory
  5. Other projects
Title Object type File name Summary
TrustedHostsRequestFactory class core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Provides a request factory for requests using host verification.
TrustedHostsRequestFactory.php file core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php
TrustedHostsRequestFactory::$host property core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php The host of the main request.
TrustedHostsRequestFactory::createRequest function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new request object.
TrustedHostsRequestFactory::__construct function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new TrustedHostsRequestFactory.
TrustedHostsRequestFactoryTest class core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests the trusted hosts request factory.
TrustedHostsRequestFactoryTest.php file core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
TrustedHostsRequestFactoryTest::providerTestCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Provides data for testCreateRequest().
TrustedHostsRequestFactoryTest::testCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests TrustedHostsRequestFactory::createRequest().
UnitTestCase::getConfigFactoryStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config factory that behaves according to the passed array.
UnroutedUrlAssemblerTest::$configFactory property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked config factory.
update.post_update_registry_factory service core/core.services.yml Drupal\Core\Update\UpdateRegistryFactory
update.update_hook_registry_factory service core/core.services.yml Drupal\Core\Update\UpdateHookRegistryFactory
UpdateCacheBackendFactory class core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php Cache factory implementation for use during Drupal database updates.
UpdateCacheBackendFactory.php file core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php
UpdateCacheBackendFactory::$bins property core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php Instantiated update cache bins.
UpdateCacheBackendFactory::$cacheFactory property core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php The regular runtime cache_factory service.
UpdateCacheBackendFactory::get function core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php Gets a cache backend class for a given cache bin.
UpdateCacheBackendFactory::__construct function core/lib/Drupal/Core/Update/UpdateCacheBackendFactory.php UpdateCacheBackendFactory constructor.
UpdateFetcherTest::$mockConfigFactory property core/modules/update/tests/src/Unit/UpdateFetcherTest.php Mock config factory.
UpdateHookRegistryFactory class core/lib/Drupal/Core/Update/UpdateHookRegistryFactory.php Service factory for the versioning update registry.
UpdateHookRegistryFactory.php file core/lib/Drupal/Core/Update/UpdateHookRegistryFactory.php
UpdateHookRegistryFactory::create function core/lib/Drupal/Core/Update/UpdateHookRegistryFactory.php Creates a new UpdateHookRegistry instance.
UpdateHookRegistryTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php
UpdateMailTest::$configFactory property core/modules/update/tests/src/Unit/UpdateMailTest.php Mocked config factory.
Updater::factory function core/lib/Drupal/Core/Updater/Updater.php Returns an Updater of the appropriate type depending on the source.
UpdateRegistryFactory class core/lib/Drupal/Core/Update/UpdateRegistryFactory.php Service factory for the update registry.
UpdateRegistryFactory.php file core/lib/Drupal/Core/Update/UpdateRegistryFactory.php
UpdateRegistryFactory::create function core/lib/Drupal/Core/Update/UpdateRegistryFactory.php Creates a new UpdateRegistry instance.
UserMultipleCancelConfirm::$tempStoreFactory property core/modules/user/src/Form/UserMultipleCancelConfirm.php The temp store factory.
validation.basic_recursive_validator_factory service core/core.services.yml Drupal\Core\Validation\BasicRecursiveValidatorFactory
VariationCacheFactory class core/lib/Drupal/Core/Cache/VariationCacheFactory.php Defines the variation cache factory.
VariationCacheFactory.php file core/lib/Drupal/Core/Cache/VariationCacheFactory.php
VariationCacheFactory::$bins property core/lib/Drupal/Core/Cache/VariationCacheFactory.php Instantiated variation cache bins.
VariationCacheFactory::get function core/lib/Drupal/Core/Cache/VariationCacheFactory.php Gets a variation cache backend for a given cache bin.
VariationCacheFactory::__construct function core/lib/Drupal/Core/Cache/VariationCacheFactory.php Constructs a new VariationCacheFactory object.
VariationCacheFactoryInterface interface core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php An interface defining variation cache factory classes.
VariationCacheFactoryInterface.php file core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php
VariationCacheFactoryInterface::get function core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php Gets a variation cache backend for a given cache bin.
variation_cache_factory service core/core.services.yml Drupal\Core\Cache\VariationCacheFactory
ViewAjaxController::$executableFactory property core/modules/views/src/Controller/ViewAjaxController.php The factory to load a view executable with.
ViewAjaxControllerTest::$executableFactory property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The mocked executable factory.
ViewExecutableFactory class core/modules/views/src/ViewExecutableFactory.php Defines the cache backend factory.
ViewExecutableFactory.php file core/modules/views/src/ViewExecutableFactory.php
ViewExecutableFactory::$requestStack property core/modules/views/src/ViewExecutableFactory.php The request stack.
ViewExecutableFactory::$routeProvider property core/modules/views/src/ViewExecutableFactory.php The route provider.
ViewExecutableFactory::$user property core/modules/views/src/ViewExecutableFactory.php Stores the current user.
ViewExecutableFactory::$viewsData property core/modules/views/src/ViewExecutableFactory.php The views data.
ViewExecutableFactory::get function core/modules/views/src/ViewExecutableFactory.php Instantiates a ViewExecutable class.
ViewExecutableFactory::__construct function core/modules/views/src/ViewExecutableFactory.php Constructs a new ViewExecutableFactory.

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