You are here

public function FlagTypePluginInterface::actionPermissions in Flag 8.4

Returns the permissions available to this flag type.

Parameters

\Drupal\flag\FlagInterface $flag: The flag object.

Return value

array An array of permissions.

1 method overrides FlagTypePluginInterface::actionPermissions()
FlagTypeBase::actionPermissions in src/FlagType/FlagTypeBase.php
Returns the permissions available to this flag type.

File

src/FlagType/FlagTypePluginInterface.php, line 26

Class

FlagTypePluginInterface
Provides an interface for all flag type plugins.

Namespace

Drupal\flag\FlagType

Code

public function actionPermissions(FlagInterface $flag);