public function EntityUsageSettingsForm::__construct in Entity Usage 8
Same name and namespace in other branches
- 8.4 src/Form/EntityUsageSettingsForm.php \Drupal\entity_usage\Form\EntityUsageSettingsForm::__construct()
- 8.2 src/Form/EntityUsageSettingsForm.php \Drupal\entity_usage\Form\EntityUsageSettingsForm::__construct()
- 8.3 src/Form/EntityUsageSettingsForm.php \Drupal\entity_usage\Form\EntityUsageSettingsForm::__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/ EntityUsageSettingsForm.php, line 43
Class
- EntityUsageSettingsForm
- Form to configure entity_usage settings.
Namespace
Drupal\entity_usage\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, RouteBuilderInterface $router_builder, CacheBackendInterface $cache_render) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->routerBuilder = $router_builder;
$this->cacheRender = $cache_render;
}