public function JsonapiExtrasSettingsForm::__construct in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/Form/JsonapiExtrasSettingsForm.php \Drupal\jsonapi_extras\Form\JsonapiExtrasSettingsForm::__construct()
- 8.2 src/Form/JsonapiExtrasSettingsForm.php \Drupal\jsonapi_extras\Form\JsonapiExtrasSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\ProxyClass\Routing\RouteBuilder $router_builder: The router builder to rebuild menus after saving config entity.
Overrides ConfigFormBase::__construct
File
- src/
Form/ JsonapiExtrasSettingsForm.php, line 26
Class
- JsonapiExtrasSettingsForm
- Configure JSON API settings for this site.
Namespace
Drupal\jsonapi_extras\FormCode
public function __construct(ConfigFactoryInterface $config_factory, RouteBuilder $router_builder) {
parent::__construct($config_factory);
$this->routerBuilder = $router_builder;
}