public function ThemeExperimentalConfirmForm::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::__construct()
- 9 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;
}