You are here

public function StyleswitcherStyleForm::__construct in Style Switcher 3.0.x

Same name and namespace in other branches
  1. 8.2 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\Form

Code

public function __construct(ThemeManagerInterface $theme_manager) {
  $this->themeManager = $theme_manager;
}