public function GeneratorForm::__construct in AT Tool 2.0 1.0.x
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');
}