You are here

public function FlagListsAccessCheck::__construct in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x src/Access/FlagListsAccessCheck.php \Drupal\flag_lists\Access\FlagListsAccessCheck::__construct()

Constructor.

Parameters

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

File

src/Access/FlagListsAccessCheck.php, line 31

Class

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

Namespace

Drupal\flag_lists\Access

Code

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