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
MigrationPluginManager::$configFactory property core/modules/migrate_drupal/src/MigrationPluginManager.php The config factory service.
MockFileTransfer::factory function core/modules/system/tests/modules/system_test/src/MockFileTransfer.php Returns a Drupal\system_test\MockFileTransfer object.
MockService::getFactoryMethod function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Provides a factory method to get a service.
ModuleExtensionList::$configFactory property core/lib/Drupal/Core/Extension/ModuleExtensionList.php The config factory.
NodeAdminRouteSubscriber::$configFactory property core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php The config factory.
NodeForm::$tempStoreFactory property core/modules/node/src/NodeForm.php The tempstore factory.
NodePreviewConverter::$tempStoreFactory property core/modules/node/src/ParamConverter/NodePreviewConverter.php Stores the tempstore factory.
NodePreviewForm::$configFactory property core/modules/node/src/Form/NodePreviewForm.php The config factory.
NullBackendFactory class core/lib/Drupal/Core/Cache/NullBackendFactory.php
NullBackendFactory.php file core/lib/Drupal/Core/Cache/NullBackendFactory.php
NullBackendFactory::get function core/lib/Drupal/Core/Cache/NullBackendFactory.php
OperationFactory class composer/Plugin/Scaffold/Operations/OperationFactory.php Create Scaffold operation objects based on provided metadata.
OperationFactory.php file composer/Plugin/Scaffold/Operations/OperationFactory.php
OperationFactory::$composer property composer/Plugin/Scaffold/Operations/OperationFactory.php The Composer service.
OperationFactory::create function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates a scaffolding operation object as determined by the metadata.
OperationFactory::createAppendOp function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates an 'append' (or 'prepend') scaffold op.
OperationFactory::createReplaceOp function composer/Plugin/Scaffold/Operations/OperationFactory.php Creates a 'replace' scaffold op.
OperationFactory::getPackagePath function composer/Plugin/Scaffold/Operations/OperationFactory.php Gets the file path of a package.
OperationFactory::hasContent function composer/Plugin/Scaffold/Operations/OperationFactory.php Checks to see if the specified scaffold file exists and has content.
OperationFactory::__construct function composer/Plugin/Scaffold/Operations/OperationFactory.php OperationFactory constructor.
PathMatcher::$configFactory property core/lib/Drupal/Core/Path/PathMatcher.php The config factory service.
PgsqlQueryFactory class core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php Workspaces PostgreSQL-specific entity query implementation.
PgsqlQueryFactory.php file core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php
PgsqlQueryFactory::$workspaceManager property core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php The workspace manager.
PgsqlQueryFactory::get function core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php
PgsqlQueryFactory::getAggregate function core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php
PgsqlQueryFactory::__construct function core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php Constructs a PgsqlQueryFactory object.
PhpBackendFactory class core/lib/Drupal/Core/Cache/PhpBackendFactory.php
PhpBackendFactory.php file core/lib/Drupal/Core/Cache/PhpBackendFactory.php
PhpBackendFactory::$checksumProvider property core/lib/Drupal/Core/Cache/PhpBackendFactory.php The cache tags checksum provider.
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.

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