You are here

public function StyleswitcherConfigTheme::__construct in Style Switcher 8.2

Same name and namespace in other branches
  1. 3.0.x src/Form/StyleswitcherConfigTheme.php \Drupal\styleswitcher\Form\StyleswitcherConfigTheme::__construct()

Constructs the StyleswitcherConfigTheme.

Parameters

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

File

src/Form/StyleswitcherConfigTheme.php, line 29

Class

StyleswitcherConfigTheme
Configure theme-specific styles settings.

Namespace

Drupal\styleswitcher\Form

Code

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