public function FlagPermissions::__construct in Flag 8.4
Constructs a FlagPermissions instance.
Parameters
FlagServiceInterface $flag: The flag service.
File
- src/
Permissions/ FlagPermissions.php, line 27
Class
- FlagPermissions
- Provides dynamic permissions for defined flags.
Namespace
Drupal\flag\PermissionsCode
public function __construct(FlagServiceInterface $flag) {
$this->flagService = $flag;
}