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
RecursiveValidatorFactory class core/modules/file/src/Validation/RecursiveValidatorFactory.php Factory for creating a new RecursiveValidator.
RecursiveValidatorFactory.php file core/modules/file/src/Validation/RecursiveValidatorFactory.php
RecursiveValidatorFactory::createValidator function core/modules/file/src/Validation/RecursiveValidatorFactory.php Creates a new RecursiveValidator.
RecursiveValidatorFactory::__construct function core/modules/file/src/Validation/RecursiveValidatorFactory.php Constructs a new RecursiveValidatorFactory.
ReflectionFactory class core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php A plugin factory that maps instance configuration to constructor arguments.
ReflectionFactory.php file core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php
ReflectionFactory::createInstance function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php Creates a plugin instance based on the provided ID and configuration.
ReflectionFactory::getInstanceArguments function core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php Inspects the plugin class and builds a list of constructor arguments.
ReflectionFactoryTest class core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php Tests Drupal\Component\Plugin\Factory\ReflectionFactory.
ReflectionFactoryTest.php file core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
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 @legacy-covers ::createInstance
ReflectionFactoryTest::testGetInstanceArguments function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @legacy-covers ::getInstanceArguments
RendererTestBase::$cacheFactory property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
SearchBlockForm::$configFactory property core/modules/search/src/Form/SearchBlockForm.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.
SendmailCommandValidationTransportFactory class core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php Command validation decorator for sendmail transport factory.
SendmailCommandValidationTransportFactory.php file core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::create function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::supports function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php
SendmailCommandValidationTransportFactory::__construct function core/lib/Drupal/Core/Mailer/Transport/SendmailCommandValidationTransportFactory.php Construct command validation decorator for sendmail transport factory.
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.
Symfony\Component\Mailer\Transport\AbstractTransportFactory service core/modules/mailer/mailer.services.yml Abstract
Symfony\Component\Mailer\Transport\NativeTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\NullTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\SendmailTransportFactory service core/modules/mailer/mailer.services.yml
Symfony\Component\Mailer\Transport\Smtp\EsmtpTransportFactory service core/modules/mailer/mailer.services.yml
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.

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