You are here

public function StyleguideMenuLinks::__construct in Style Guide 8

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

StyleguideMenuLinks constructor.

Parameters

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

File

src/Plugin/Derivative/StyleguideMenuLinks.php, line 28

Class

StyleguideMenuLinks
Styleguide menu links.

Namespace

Drupal\styleguide\Plugin\Derivative

Code

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