You are here

public static function BlockTokenPermissions::permissions in Block Token 8

1 string reference to 'BlockTokenPermissions::permissions'
block_token.permissions.yml in ./block_token.permissions.yml
block_token.permissions.yml

File

src/BlockTokenPermissions.php, line 39

Class

BlockTokenPermissions

Namespace

Drupal\block_token

Code

public static function permissions() {
  $perms = [];
  $perms['administer block token'] = array(
    'title' => t('Administer block tokens'),
    'description' => t('Turn on/off the block token generation per block.(This gives permission to View/Edit/Save block forms.)'),
  );
  return $perms;
}