public function SiteSettingsForm::__construct in Drupal 9
Same name and namespace in other branches
- 8 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.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php, line 43
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;
}