You are here

protected function FlagTypeBase::getExtraPermissionsOptions in Flag 8.4

Defines options for extra permissions.

Return value

array An array of options suitable for FormAPI.

1 call to FlagTypeBase::getExtraPermissionsOptions()
EntityFlagType::getExtraPermissionsOptions in src/Plugin/Flag/EntityFlagType.php
Defines options for extra permissions.
1 method overrides FlagTypeBase::getExtraPermissionsOptions()
EntityFlagType::getExtraPermissionsOptions in src/Plugin/Flag/EntityFlagType.php
Defines options for extra permissions.

File

src/FlagType/FlagTypeBase.php, line 134

Class

FlagTypeBase
Provides a base class for flag type plugins.

Namespace

Drupal\flag\FlagType

Code

protected function getExtraPermissionsOptions() {
  return [];
}