public function GeneratorForm::__construct in AT Tools 8.3
Same name and namespace in other branches
- 8.2 at_theme_generator/src/Form/GeneratorForm.php \Drupal\at_theme_generator\Form\GeneratorForm::__construct()
File
- at_theme_generator/
src/ Form/ GeneratorForm.php, line 46
Class
- GeneratorForm
- Generator form.
Namespace
Drupal\at_theme_generator\FormCode
public function __construct() {
$this->themeInfoData = \Drupal::service('theme_handler')
->rebuildThemeData();
$this->listInfo = \Drupal::service('theme_handler')
->listInfo();
$this->themeSettingsInfo = new ThemeInfo('at_core');
$this->typeSubtheme = $this->themeSettingsInfo
->themeOptions('adaptive_subtheme');
$this->typeSkintheme = $this->themeSettingsInfo
->themeOptions('adaptive_skin');
}