public function WSDataAdminForm::__construct in Web Service Data 2.0.x
Same name and namespace in other branches
- 8 src/Form/WSDataAdminForm.php \Drupal\wsdata\Form\WSDataAdminForm::__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/ WSDataAdminForm.php, line 19
Class
- WSDataAdminForm
- Admin form for the WSData module.
Namespace
Drupal\wsdata\FormCode
public function __construct(ConfigFactoryInterface $config_factory, State $state) {
$this
->setConfigFactory($config_factory);
$this->state = $state;
}