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
FactoryTest::testDefaultFactory function core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php Test that DefaultFactory can create a plugin instance.
FactoryTest::testReflectionFactory function core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php Test that the Reflection factory can create a plugin instance.
Fast404ExceptionHtmlSubscriber::$configFactory property core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php The config factory.
FieldDefinitionListener::$keyValueFactory property core/lib/Drupal/Core/Field/FieldDefinitionListener.php The key-value factory.
FieldDefinitionListenerTest::$keyValueFactory property core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php The key-value factory.
FieldDefinitionTest::factoryTypeProvider function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php A data provider for all the types of factories that can create definitions.
FieldDefinitionTest::initializeFieldUsingFactory function core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php Creates a bundle field using a specified factory.
FieldStorageAddForm::$configFactory property core/modules/field_ui/src/Form/FieldStorageAddForm.php The configuration factory.
FieldUpdateTest::$configFactory property core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php The config factory service.
FileCacheFactory class core/lib/Drupal/Component/FileCache/FileCacheFactory.php Creates a FileCache object.
FileCacheFactory.php file core/lib/Drupal/Component/FileCache/FileCacheFactory.php
FileCacheFactory::$configuration property core/lib/Drupal/Component/FileCache/FileCacheFactory.php The configuration used to create FileCache objects.
FileCacheFactory::$prefix property core/lib/Drupal/Component/FileCache/FileCacheFactory.php The cache prefix.
FileCacheFactory::DISABLE_CACHE constant core/lib/Drupal/Component/FileCache/FileCacheFactory.php The configuration key to disable FileCache completely.
FileCacheFactory::get function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Instantiates a FileCache object for a given collection identifier.
FileCacheFactory::getConfiguration function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Gets the configuration used for constructing future file cache objects.
FileCacheFactory::getPrefix function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Returns the cache prefix.
FileCacheFactory::setConfiguration function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Sets the configuration to use for constructing future file cache objects.
FileCacheFactory::setPrefix function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Sets the cache prefix that should be used.
FileCacheFactoryTest class core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @coversDefaultClass \Drupal\Component\FileCache\FileCacheFactory[[api-linebreak]]
@group FileCache
FileCacheFactoryTest.php file core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
FileCacheFactoryTest::configurationDataProvider function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php Data provider for testGetConfigurationOverrides().
FileCacheFactoryTest::setUp function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
FileCacheFactoryTest::testGet function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get[[api-linebreak]]
FileCacheFactoryTest::testGetConfigurationOverrides function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get[[api-linebreak]]
FileCacheFactoryTest::testGetDisabledFileCache function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get[[api-linebreak]]
FileCacheFactoryTest::testGetNoPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get[[api-linebreak]]
FileCacheFactoryTest::testGetSetConfiguration function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::getConfiguration[[api-linebreak]]
@covers ::setConfiguration[[api-linebreak]]
FileCacheFactoryTest::testGetSetPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::getPrefix[[api-linebreak]]
@covers ::setPrefix[[api-linebreak]]
FileStorageFactory class core/lib/Drupal/Core/Config/FileStorageFactory.php Provides a factory for creating config file storage objects.
FileStorageFactory.php file core/lib/Drupal/Core/Config/FileStorageFactory.php
FileStorageFactory::getActive function core/lib/Drupal/Core/Config/FileStorageFactory.php Returns a FileStorage object working with the active config directory.
FileStorageFactory::getSync function core/lib/Drupal/Core/Config/FileStorageFactory.php Returns a FileStorage object working with the sync config directory.
FileStorageFactoryTest class core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php @coversDefaultClass \Drupal\Core\Config\FileStorageFactory[[api-linebreak]]
@group config
FileStorageFactoryTest.php file core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
FileStorageFactoryTest::testGetSync function core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php @covers ::getSync[[api-linebreak]]
FileTransfer::factory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Defines a factory method for this class.
FileUsageBase::$configFactory property core/modules/file/src/FileUsage/FileUsageBase.php The config factory.
FilterFormatListBuilder::$configFactory property core/modules/filter/src/FilterFormatListBuilder.php The config factory service.
FinalExceptionSubscriber::$configFactory property core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php The config factory.
FormBase::$configFactory property core/lib/Drupal/Core/Form/FormBase.php The config factory.
FormBase::configFactory function core/lib/Drupal/Core/Form/FormBase.php Gets the config factory for this form.
FormBase::resetConfigFactory function core/lib/Drupal/Core/Form/FormBase.php Resets the configuration factory.
FormBase::setConfigFactory function core/lib/Drupal/Core/Form/FormBase.php Sets the config factory for this form.
FormCache::$configFactory property core/lib/Drupal/Core/Form/FormCache.php The config factory.
FormCache::$keyValueExpirableFactory property core/lib/Drupal/Core/Form/FormCache.php The factory for expirable key value stores used by form cache.
FormCacheTest::$keyValueExpirableFactory property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The expirable key value factory.
ForumManager::$configFactory property core/modules/forum/src/ForumManager.php Forum settings config object.
ForumUninstallValidator::$configFactory property core/modules/forum/src/ForumUninstallValidator.php The config factory.
FTP::factory function core/lib/Drupal/Core/FileTransfer/FTP.php

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