You are here

public function EntityUsageSettingsForm::__construct in Entity Usage 8.4

Same name and namespace in other branches
  1. 8 src/Form/EntityUsageSettingsForm.php \Drupal\entity_usage\Form\EntityUsageSettingsForm::__construct()
  2. 8.2 src/Form/EntityUsageSettingsForm.php \Drupal\entity_usage\Form\EntityUsageSettingsForm::__construct()
  3. 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 44

Class

EntityUsageSettingsForm
Form to configure entity_usage settings.

Namespace

Drupal\entity_usage\Form

Code

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;
}