Search for factory
- Search 7.x for factory
- Search 9.5.x for factory
- Search 10.3.x for factory
- Search 11.x for factory
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DefaultFactory.php | file | core/ |
|
DefaultFactory::$discovery | property | core/ |
The object that retrieves the definitions of the plugins that this factory instantiates. |
DefaultFactory::$interface | property | core/ |
Defines an interface each plugin should implement. |
DefaultFactory::createInstance | function | core/ |
|
DefaultFactory::getPluginClass | function | core/ |
Finds the class relevant for a given plugin. |
DefaultFactory::__construct | function | core/ |
Constructs a Drupal\Component\Plugin\Factory\DefaultFactory object. |
DefaultFactoryTest | class | core/ |
@coversDefaultClass \Drupal\Component\Plugin\Factory\DefaultFactory[[api-linebreak]] @group Plugin |
DefaultFactoryTest.php | file | core/ |
|
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition | function | core/ |
Tests getPluginClass() with a required interface but no implementation. |
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition | function | core/ |
Tests getPluginClass() with a required interface but no implementation. |
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition | function | core/ |
Tests getPluginClass() with a required interface. |
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition | function | core/ |
Tests getPluginClass() with a required interface. |
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition | function | core/ |
Tests getPluginClass() with a missing class definition. |
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition | function | core/ |
Tests getPluginClass() with a missing class definition. |
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition | function | core/ |
Tests getPluginClass() with a not existing class definition. |
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition | function | core/ |
Tests getPluginClass() with a not existing class definition. |
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition | function | core/ |
Tests getPluginClass() with a valid array plugin definition. |
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition | function | core/ |
Tests getPluginClass() with a valid object plugin definition. |
DefaultFetcher::$httpClientFactory | property | core/ |
The HTTP client to fetch the feed data with. |
DefaultNegotiator::$configFactory | property | core/ |
The system theme config object. |
DefaultPluginManager::getFactory | function | core/ |
|
DefaultProcessor::$configFactory | property | core/ |
Contains the configuration object factory. |
Drupal::configFactory | function | core/ |
Retrieves the configuration factory. |
EditorConfigTranslationSubscriber::$configFactory | property | core/ |
The config factory. |
EntityConfigBase::$configFactory | property | core/ |
The configuration factory. |
EntityFieldManager::$keyValueFactory | property | core/ |
The key-value factory. |
EntityFieldManagerTest::$keyValueFactory | property | core/ |
The keyvalue factory. |
EntityLastInstalledSchemaRepository::$keyValueFactory | property | core/ |
The key-value factory. |
EntityReferenceEntityFormatter::$loggerFactory | property | core/ |
The logger factory. |
EntityResource::$configFactory | property | core/ |
The config factory. |
EnvironmentCleanerFactory | class | core/ |
Test environment cleaner factory. |
EnvironmentCleanerFactory.php | file | core/ |
|
EnvironmentCleanerFactory::$container | property | core/ |
The container. |
EnvironmentCleanerFactory::createCleaner | function | core/ |
Factory method to create the environment cleaner service. |
EnvironmentCleanerFactory::__construct | function | core/ |
Construct an environment cleaner factory. |
EnvironmentCleanerService::$configFactory | property | core/ |
The config factory. |
environment_cleaner_factory | service | core/ |
Drupal\simpletest\EnvironmentCleanerFactory |
ExecutionContext::getMetadataFactory | function | core/ |
|
ExecutionContextFactory | class | core/ |
Defines an execution factory for the Typed Data validator. |
ExecutionContextFactory.php | file | core/ |
|
ExecutionContextFactory::$translationDomain | property | core/ |
|
ExecutionContextFactory::$translator | property | core/ |
|
ExecutionContextFactory::createContext | function | core/ |
|
ExecutionContextFactory::__construct | function | core/ |
Constructs a new ExecutionContextFactory instance. |
FactoryInterface | interface | core/ |
Factory interface implemented by all plugin factories. |
FactoryInterface.php | file | core/ |
|
FactoryInterface::createInstance | function | core/ |
Creates a pre-configured instance of a plugin. |
FactoryTest | class | core/ |
Tests that plugins are correctly instantiated. |
FactoryTest.php | file | core/ |
|
FactoryTest::$modules | property | core/ |
Modules to enable. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.