public function SiteSettingsForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php \Drupal\Core\Installer\Form\SiteSettingsForm::__construct()
- 10 core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php \Drupal\Core\Installer\Form\SiteSettingsForm::__construct()
Constructs a new SiteSettingsForm.
Parameters
string $site_path: The site path.
File
- core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php, line 41
Class
- SiteSettingsForm
- Provides a form to configure and rewrite settings.php.
Namespace
Drupal\Core\Installer\FormCode
public function __construct($site_path, RendererInterface $renderer) {
$this->sitePath = $site_path;
$this->renderer = $renderer;
}