public function UnFlagAccessCheck::__construct in Flag 8.4
Constructor.
Parameters
\Drupal\flag\FlagServiceInterface $flag_service: The flag service.
File
- src/
Access/ UnFlagAccessCheck.php, line 31
Class
- UnFlagAccessCheck
- Provides routes with the ability to check access to the 'unflag' action.
Namespace
Drupal\flag\AccessCode
public function __construct(FlagServiceInterface $flag_service) {
$this->flagService = $flag_service;
}