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