You are here

public function LibraryPattern::__construct in UI Patterns 8

UiPatternsManager constructor.

Overrides PatternBase::__construct

File

modules/ui_patterns_library/src/Plugin/UiPatterns/Pattern/LibraryPattern.php, line 35

Class

LibraryPattern
The UI Pattern plugin.

Namespace

Drupal\ui_patterns_library\Plugin\UiPatterns\Pattern

Code

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