public function StyleswitcherConfigTheme::__construct in Style Switcher 8.2
Same name and namespace in other branches
- 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\FormCode
public function __construct(ThemeHandlerInterface $theme_handler) {
$this->themeHandler = $theme_handler;
}