public function ThemeExperimentalConfirmForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::__construct()
- 10 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::__construct()
Constructs a ThemeExperimentalConfirmForm object.
Parameters
\Drupal\Core\Extension\ThemeExtensionList $theme_list: The theme extension list.
\Drupal\Core\Extension\ThemeInstallerInterface $theme_installer: The theme installer.
File
- core/
modules/ system/ src/ Form/ ThemeExperimentalConfirmForm.php, line 43
Class
- ThemeExperimentalConfirmForm
- Builds a confirmation form for enabling experimental themes.
Namespace
Drupal\system\FormCode
public function __construct(ThemeExtensionList $theme_list, ThemeInstallerInterface $theme_installer) {
$this->themeList = $theme_list;
$this->themeInstaller = $theme_installer;
}