You are here

public function ConfigurationForm::__construct in Progressive Web App 8

Same name and namespace in other branches
  1. 2.x src/Form/ConfigurationForm.php \Drupal\pwa\Form\ConfigurationForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/ConfigurationForm.php, line 41

Class

ConfigurationForm
Class ConfigurationForm.

Namespace

Drupal\pwa\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ManifestInterface $manifest) {
  parent::__construct($config_factory);
  $this->manifest = $manifest;
  $this->configSystemFile = $config_factory
    ->get('system.file');
}