You are here

public function EdgeEntityDisplaySettingsForm::__construct in Apigee Edge 8

AppDisplaySettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

Overrides ConfigFormBase::__construct

File

src/Form/EdgeEntityDisplaySettingsForm.php, line 89

Class

EdgeEntityDisplaySettingsForm
Configuration form for Apigee entities display settings.

Namespace

Drupal\apigee_edge\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, EntityDisplayRepositoryInterface $entity_display_repository, ModuleHandlerInterface $module_handler, RouteMatchInterface $route_match) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->entityDisplayRepository = $entity_display_repository;
  $this->routeMatch = $route_match;
}