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
ReflectionFactoryTest::providerGetInstanceArguments function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Data provider for testGetInstanceArguments.
ReflectionFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @covers ::createInstance[[api-linebreak]]
@dataProvider providerGetInstanceArguments
ReflectionFactoryTest::testGetInstanceArguments function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @covers ::getInstanceArguments[[api-linebreak]]
@dataProvider providerGetInstanceArguments
RenderCache::$cacheFactory property core/lib/Drupal/Core/Render/RenderCache.php The variation cache factory.
RendererTestBase::$cacheFactory property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
SearchBlockForm::$configFactory property core/modules/search/src/Form/SearchBlockForm.php The config factory.
SearchIndex::$configFactory property core/modules/search/src/SearchIndex.php The config factory.
SearchPage::configFactory function core/modules/search/src/Entity/SearchPage.php Wraps the config factory.
SearchPageListBuilder::$configFactory property core/modules/search/src/SearchPageListBuilder.php Stores the configuration factory.
SearchPageRepository::$configFactory property core/modules/search/src/SearchPageRepository.php The config factory.
SearchPageRepositoryTest::$configFactory property core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php The config factory.
SearchTextProcessor::$configFactory property core/modules/search/src/SearchTextProcessor.php The config factory.
SectionStorageManagerTest::$factory property core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php The plugin factory.
SelectExtender::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates an object holding a group of conditions.
SharedTempStoreFactory class core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Creates a shared temporary storage for a collection.
SharedTempStoreFactory.php file core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php
SharedTempStoreFactory::$currentUser property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The current user.
SharedTempStoreFactory::$expire property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The time to live for items in seconds.
SharedTempStoreFactory::$lockBackend property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The lock object used for this data.
SharedTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The request stack.
SharedTempStoreFactory::$storageFactory property core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php The storage factory creating the backend to store the data.
SharedTempStoreFactory::get function core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Creates a SharedTempStore for the current user or anonymous session.
SharedTempStoreFactory::__construct function core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Constructs a Drupal\Core\TempStore\SharedTempStoreFactory object.
SimpleConfigSectionStorage::$configFactory property core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php The config factory.
SSH::factory function core/lib/Drupal/Core/FileTransfer/SSH.php Defines a factory method for this class.
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 Finds the class relevant for a given plugin.
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 Reacts to the ConfigCollectionEvents::COLLECTION_INFO event.
TestConfigFactoryOverrideBase::doFilterNestedArray function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php
TestConfigFactoryOverrideBase::onConfigDelete function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php Actions to be performed to configuration override on configuration delete.
TestConfigFactoryOverrideBase::onConfigRename function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php Actions to be performed to configuration override on configuration rename.
TestConfigFactoryOverrideBase::onConfigSave function core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php Actions to be performed to configuration override on configuration save.
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.
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.

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