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
PhpBackendFactory::get function core/lib/Drupal/Core/Cache/PhpBackendFactory.php Gets PhpBackend for the specified cache bin.
PhpBackendFactory::__construct function core/lib/Drupal/Core/Cache/PhpBackendFactory.php Constructs a PhpBackendFactory object.
PhpMail::$configFactory property core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php The configuration factory.
PhpMailTest::$configFactory property core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php The configuration factory.
PhpStorageFactory class core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php Creates a php storage object.
PhpStorageFactory.php file core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php
PhpStorageFactory::get function core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php Instantiates a storage for generated PHP code.
PhpStorageFactoryTest class core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the PHP storage factory.
PhpStorageFactoryTest.php file core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php
PhpStorageFactoryTest::setSettings function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Sets the Settings() singleton.
PhpStorageFactoryTest::setUp function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php
PhpStorageFactoryTest::testGetDefault function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method using the 'default' settings.
PhpStorageFactoryTest::testGetNoSettings function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method with no settings.
PhpStorageFactoryTest::testGetOverride function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method with overridden settings.
PluginFormFactory class core/lib/Drupal/Core/Plugin/PluginFormFactory.php Provides form discovery capabilities for plugins.
PluginFormFactory.php file core/lib/Drupal/Core/Plugin/PluginFormFactory.php
PluginFormFactory::$classResolver property core/lib/Drupal/Core/Plugin/PluginFormFactory.php The class resolver.
PluginFormFactory::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactory.php Creates a new form instance.
PluginFormFactory::__construct function core/lib/Drupal/Core/Plugin/PluginFormFactory.php PluginFormFactory constructor.
PluginFormFactoryInterface interface core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Provides an interface for retrieving form objects for plugins.
PluginFormFactoryInterface.php file core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php
PluginFormFactoryInterface::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Creates a new form instance.
PluginFormFactoryTest class core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @coversDefaultClass \Drupal\Core\Plugin\PluginFormFactory[[api-linebreak]]
@group Plugin
PluginFormFactoryTest.php file core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php
PluginFormFactoryTest::$classResolver property core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php The class resolver.
PluginFormFactoryTest::$manager property core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php The manager being tested.
PluginFormFactoryTest::setUp function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php
PluginFormFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance[[api-linebreak]]
PluginManagerBase::$factory property core/lib/Drupal/Component/Plugin/PluginManagerBase.php The object that instantiates plugins managed by this manager.
PluginManagerBase::getFactory function core/lib/Drupal/Component/Plugin/PluginManagerBase.php Gets the plugin factory.
PluginManagerBaseTest::getMockFactoryInterface function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Generates a mocked FactoryInterface object with known properties.
plugin_form.factory service core/core.services.yml Drupal\Core\Plugin\PluginFormFactory
PrivateTempStoreFactory class core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore object for a given collection.
PrivateTempStoreFactory.php file core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php
PrivateTempStoreFactory::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The current user.
PrivateTempStoreFactory::$expire property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The time to live for items in seconds.
PrivateTempStoreFactory::$lockBackend property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The lock object used for this data.
PrivateTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The request stack.
PrivateTempStoreFactory::$storageFactory property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The storage factory creating the backend to store the data.
PrivateTempStoreFactory::get function core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore.
PrivateTempStoreFactory::__construct function core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Constructs a Drupal\Core\TempStore\PrivateTempStoreFactory object.
ProcessedText::configFactory function core/modules/filter/src/Element/ProcessedText.php Wraps the config factory.
psr17.response_factory service core/core.services.yml GuzzleHttp\Psr7\HttpFactory
psr17.server_request_factory service core/core.services.yml GuzzleHttp\Psr7\HttpFactory

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