public function SettingsForm::__construct in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Form/SettingsForm.php \Drupal\opigno_moxtra\Form\SettingsForm::__construct()
Constructs a SettingsForm object.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 53
Class
- SettingsForm
- Implements the Opigno Moxtra settings form.
Namespace
Drupal\opigno_moxtra\FormCode
public function __construct(ConfigFactoryInterface $config_factory, TimeInterface $time, KeyValueFactory $key_value, RequestStack $request_stack) {
parent::__construct($config_factory);
$this->time = $time;
$this->keyValueStorage = $key_value
->get('opigno_moxtra');
$this->request = $request_stack;
}