public function SiteSettingsForm::__construct

public SiteSettingsForm::__construct($site_path, RendererInterface $renderer)

Constructs a new SiteSettingsForm.

Parameters

string $site_path: The site path.

File

core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 37

Class

SiteSettingsForm
Provides a form to configure and rewrite settings.php.

Namespace

Drupal\Core\Installer\Form

Code

public function __construct($site_path, RendererInterface $renderer) {
  $this->sitePath = $site_path;
  $this->renderer = $renderer;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Installer!Form!SiteSettingsForm.php/function/SiteSettingsForm::__construct/8.1.x