You are here

public function UnFlagListsAccessCheck::__construct in Flag Lists 8

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

Constructor.

Parameters

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

File

src/Access/UnFlagListsAccessCheck.php, line 31

Class

UnFlagListsAccessCheck
Provides routes with the ability to check access to the 'unflag' action.

Namespace

Drupal\flag_lists\Access

Code

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