You are here

public function FrontPage::__construct in Form mode manager 8

Same name and namespace in other branches
  1. 8.2 modules/examples/src/Controller/FrontPage.php \Drupal\form_mode_manager_examples\Controller\FrontPage::__construct()

Constructs a Form mode manager FrontPage object.

Parameters

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

File

modules/form_mode_manager_examples/src/Controller/FrontPage.php, line 44

Class

FrontPage
Simple front page controller for form_mode_manager_examples module.

Namespace

Drupal\form_mode_manager_examples\Controller

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}