function ThemeExperimentalConfirmForm::__construct

Same name in other branches
  1. 9 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::__construct()
  2. 8.9.x core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::__construct()
  3. 11.x 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\Form

Code

public function __construct(ThemeExtensionList $theme_list, ThemeInstallerInterface $theme_installer) {
    $this->themeList = $theme_list;
    $this->themeInstaller = $theme_installer;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.