A plugin factory that maps instance configuration to constructor arguments.
Provides logic for any basic plugin type that needs to provide individual plugins based upon some basic logic.
Expanded class hierarchy of ReflectionFactory
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultFactory:: |
protected | property | The object that retrieves the definitions of the plugins that this factory instantiates. | |
DefaultFactory:: |
public static | function | Finds the class relevant for a given plugin. | |
DefaultFactory:: |
public | function | Constructs a Drupal\Component\Plugin\Factory\DefaultFactory object. | |
ReflectionFactory:: |
public | function |
Implements Drupal\Component\Plugin\Factory\FactoryInterface::createInstance(). Overrides DefaultFactory:: |
|
ReflectionFactory:: |
protected | function | Inspects the plugin class and build a list of arguments for the constructor. |