You are here

public function FlagListsAccessCheck::__construct in Flag Lists 4.0.x

Same name and namespace in other branches
  1. 8 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;
}