You are here

public function FlagAccessCheck::__construct in Flag 8.4

Constructor.

Parameters

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

File

src/Access/FlagAccessCheck.php, line 31

Class

FlagAccessCheck
Provides routes with the ability to check access to the 'flag' action.

Namespace

Drupal\flag\Access

Code

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