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
SharedTempStoreFactory::__construct function core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Constructs a Drupal\Core\TempStore\SharedTempStoreFactory object.
SharedTempStoreTest::testLegacyFactoryConstructor function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @group legacy
@covers \Drupal\Core\TempStore\SharedTempStoreFactory::__construct[[api-linebreak]]
SimpleConfigSectionStorage::$configFactory property core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php The config factory.
site.path.factory service core/core.services.yml Drupal\Core\SitePathFactory
SitePathFactory class core/lib/Drupal/Core/SitePathFactory.php Gets the site path from the kernel.
SitePathFactory.php file core/lib/Drupal/Core/SitePathFactory.php
SitePathFactory::$drupalKernel property core/lib/Drupal/Core/SitePathFactory.php The Drupal kernel.
SitePathFactory::get function core/lib/Drupal/Core/SitePathFactory.php Gets the site path.
SitePathFactory::__construct function core/lib/Drupal/Core/SitePathFactory.php Constructs a SitePathFactory instance.
SSH::factory function core/lib/Drupal/Core/FileTransfer/SSH.php
StaticMenuLinkOverrides::$configFactory property core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php The config factory object.
StorageTestBase::$factory property core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php Whether we are using an expirable key/value store.
StubReflectionFactory class core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Override ReflectionFactory because ::createInstance() calls a static method.
StubReflectionFactory::getPluginClass function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
SyndicateBlock::$configFactory property core/modules/node/src/Plugin/Block/SyndicateBlock.php The config factory.
SystemBrandingBlock::$configFactory property core/modules/system/src/Plugin/Block/SystemBrandingBlock.php Stores the configuration factory.
SystemBrandingOffCanvasForm::$configFactory property core/modules/system/src/Form/SystemBrandingOffCanvasForm.php The config factory.
SystemMenuOffCanvasForm::$configFactory property core/modules/system/src/Form/SystemMenuOffCanvasForm.php The config factory.
TestConfigFactoryOverrideBase class core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::addCollections function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::doFilterNestedArray function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::onConfigDelete function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::onConfigRename function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::onConfigSave function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigNamesMapper::setConfigFactory function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Sets the configuration factory.
TestFileTransfer::factory function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Defines a factory method for this class.
TestFileTransferWithSettingsForm::factory function core/modules/update/tests/modules/update_test/src/TestFileTransferWithSettingsForm.php Returns a Drupal\update_test\TestFileTransferWithSettingsForm object.
TestProcessor::$configFactory property core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php Contains the configuration object factory.
TextFormat::configFactory function core/modules/filter/src/Element/TextFormat.php Wraps the config factory.
ThemeExtensionList::$configFactory property core/lib/Drupal/Core/Extension/ThemeExtensionList.php The config factory.
ThemeHandler::$configFactory property core/lib/Drupal/Core/Extension/ThemeHandler.php The config factory to get the installed themes.
ThemeHandlerTest::$configFactory property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php The mocked config factory.
ThemeInstaller::$configFactory property core/lib/Drupal/Core/Extension/ThemeInstaller.php
ThemeSettings::$configFactory property core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php The configuration factory.
TimeZoneResolver::$configFactory property core/modules/system/src/TimeZoneResolver.php The config.
ToolkitGdTest::$imageFactory property core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php The image factory service.
ToolkitTestBase::$imageFactory property core/tests/Drupal/FunctionalTests/Image/ToolkitTestBase.php The image factory service.
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

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