You are here

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\Permissions

Code

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