You are here

public function GenerateForm::__construct in AT Tools 8

File

at_theme_generator/src/Form/GenerateForm.php, line 45
Generator form.

Class

GenerateForm
@file Generator form.

Namespace

Drupal\at_theme_generator\Form

Code

public function __construct() {
  $this->themeInfoData = \Drupal::service('theme_handler')
    ->rebuildThemeData();
  $this->listInfo = \Drupal::service('theme_handler')
    ->listInfo();
  $this->themeSettingsInfo = new ThemeInfo('at_core');
  $this->sourceThemeOptions = $this->themeSettingsInfo
    ->baseThemeOptions();
}