You are here

public function StyleguideLocalTasks::__construct in Style Guide 8

Same name and namespace in other branches
  1. 2.x src/Plugin/Derivative/StyleguideLocalTasks.php \Drupal\styleguide\Plugin\Derivative\StyleguideLocalTasks::__construct()

StyleguideLocalTasks constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Drupal config factory.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The Drupal theme habdler.

File

src/Plugin/Derivative/StyleguideLocalTasks.php, line 38

Class

StyleguideLocalTasks
Styleguide local tasks.

Namespace

Drupal\styleguide\Plugin\Derivative

Code

public function __construct(ConfigFactoryInterface $config_factory, ThemeHandlerInterface $theme_handler) {
  $this->configFactory = $config_factory;
  $this->themeHandler = $theme_handler;
}