public function StyleswitcherStyleForm::__construct in Style Switcher 8.2
Same name and namespace in other branches
- 3.0.x src/Form/StyleswitcherStyleForm.php \Drupal\styleswitcher\Form\StyleswitcherStyleForm::__construct()
Constructs the StyleswitcherStyleForm.
Parameters
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.
File
- src/
Form/ StyleswitcherStyleForm.php, line 30
Class
- StyleswitcherStyleForm
- Provides a form to add/edit a style.
Namespace
Drupal\styleswitcher\FormCode
public function __construct(ThemeManagerInterface $theme_manager) {
$this->themeManager = $theme_manager;
}