You are here

public function GridBuilderManager::__construct in Grid builder 8

Overrides Drupal\Component\Plugin\PluginManagerBase::__construct().

File

lib/Drupal/gridbuilder/Plugin/Type/GridBuilderManager.php, line 27
Definition of Drupal\gridbuilder\Plugin\Type\GridBuilderManager.

Class

GridBuilderManager
GridBuilder plugin manager.

Namespace

Drupal\gridbuilder\Plugin\Type

Code

public function __construct() {

  // Create gridbuilder plugin derivatives from declaratively defined grids.
  $this->discovery = new DerivativeDiscoveryDecorator(new AnnotatedClassDiscovery('gridbuilder', 'gridbuilder'));
  $this->factory = new ReflectionFactory($this);
}