You are here

public function SettingsForm::__construct in Stage File Proxy 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 25

Class

SettingsForm
Provide settings for Stage File Proxy.

Namespace

Drupal\stage_file_proxy\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, string $site_path) {
  parent::__construct($config_factory);
  $this->sitePath = $site_path;
}