class GridBuilderManager in Grid builder 8
GridBuilder plugin manager.
Hierarchy
- class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTrait
- class \Drupal\gridbuilder\Plugin\Type\GridBuilderManager
Expanded class hierarchy of GridBuilderManager
File
- lib/
Drupal/ gridbuilder/ Plugin/ Type/ GridBuilderManager.php, line 18 - Definition of Drupal\gridbuilder\Plugin\Type\GridBuilderManager.
Namespace
Drupal\gridbuilder\Plugin\TypeView source
class GridBuilderManager extends PluginManagerBase {
protected $defaults = array(
'class' => 'Drupal\\gridbuilder\\Plugin\\gridbuilder\\gridbuilder\\EqualColumnGrid',
);
/**
* Overrides Drupal\Component\Plugin\PluginManagerBase::__construct().
*/
public function __construct() {
// Create gridbuilder plugin derivatives from declaratively defined grids.
$this->discovery = new DerivativeDiscoveryDecorator(new AnnotatedClassDiscovery('gridbuilder', 'gridbuilder'));
$this->factory = new ReflectionFactory($this);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryTrait:: |
protected | function | Gets a specific plugin definition. | |
DiscoveryTrait:: |
public | function | ||
GridBuilderManager:: |
protected | property | ||
GridBuilderManager:: |
public | function | Overrides Drupal\Component\Plugin\PluginManagerBase::__construct(). | |
PluginManagerBase:: |
protected | property | The object that discovers plugins managed by this manager. | |
PluginManagerBase:: |
protected | property | The object that instantiates plugins managed by this manager. | |
PluginManagerBase:: |
protected | property | The object that returns the preconfigured plugin instance appropriate for a particular runtime condition. | |
PluginManagerBase:: |
public | function |
Creates a pre-configured instance of a plugin. Overrides FactoryInterface:: |
12 |
PluginManagerBase:: |
public | function |
Gets a specific plugin definition. Overrides DiscoveryTrait:: |
|
PluginManagerBase:: |
public | function |
Gets the definition of all plugins for this type. Overrides DiscoveryTrait:: |
|
PluginManagerBase:: |
protected | function | Gets the plugin discovery. | 1 |
PluginManagerBase:: |
protected | function | Gets the plugin factory. | 1 |
PluginManagerBase:: |
public | function |
Gets a preconfigured instance of a plugin. Overrides MapperInterface:: |
7 |
PluginManagerBase:: |
protected | function | Allows plugin managers to specify custom behavior if a plugin is not found. | 1 |