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
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.
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.
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.
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 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 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.
ViewExecutableFactoryTest class core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php Tests Drupal\views\ViewExecutableFactory.
ViewExecutableFactoryTest.php file core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php
ViewExecutableFactoryTest::$displayPluginManager property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The display plugin manager.
ViewExecutableFactoryTest::$requestStack property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The mock request stack object.
ViewExecutableFactoryTest::$routeProvider property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The mocked route provider.
ViewExecutableFactoryTest::$user property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The mock user object.
ViewExecutableFactoryTest::$view property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The mock view entity.
ViewExecutableFactoryTest::$viewExecutableFactory property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The ViewExecutableFactory class under test.
ViewExecutableFactoryTest::$viewsData property core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php The mocked views data.
ViewExecutableFactoryTest::setUp function core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php
ViewExecutableFactoryTest::testGet function core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php Tests the get method.
ViewExecutableTest::$viewExecutableFactory property core/modules/views/tests/src/Unit/ViewExecutableTest.php The mocked view executable.

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