You are here

public function PatternBase::__construct in UI Patterns 8

UiPatternsManager constructor.

Overrides PluginBase::__construct

1 call to PatternBase::__construct()
LibraryPattern::__construct in modules/ui_patterns_library/src/Plugin/UiPatterns/Pattern/LibraryPattern.php
UiPatternsManager constructor.
1 method overrides PatternBase::__construct()
LibraryPattern::__construct in modules/ui_patterns_library/src/Plugin/UiPatterns/Pattern/LibraryPattern.php
UiPatternsManager constructor.

File

src/Plugin/PatternBase.php, line 35

Class

PatternBase
Class PatternBase.

Namespace

Drupal\ui_patterns\Plugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, $root, ModuleHandlerInterface $module_handler) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->root = $root;
  $this->moduleHandler = $module_handler;
}