public function SettingsForm::__construct in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/Form/SettingsForm.php \Drupal\opigno_moxtra\Form\SettingsForm::__construct()
Constructs a SettingsForm object.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 54
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;
}