You are here

public function FieldEntryFormController::__construct in Flag 8.4

Constructor.

Parameters

\Drupal\Core\Session\SessionManagerInterface $session_manager: The session manager.

\Drupal\Flag\FlagServiceInterface $flag_service: The flag service.

File

src/Controller/FieldEntryFormController.php, line 40

Class

FieldEntryFormController
Provides a controller for the Field Entry link type.

Namespace

Drupal\flag\Controller

Code

public function __construct(SessionManagerInterface $session_manager, FlagServiceInterface $flag_service) {
  $this->sessionManager = $session_manager;
  $this->flagService = $flag_service;
}