permissions_repository-1.0.x-dev/permissions_repository.permissions.yml

permissions_repository.permissions.yml
main:
  extended_help: 'These permissions deal with the Permissions repository module. You can probably use the default settings, however, if you want to do [ABC], you might want to [XYZ]. Another possible use case is [ABC2]. In that case  [XYZ2].'

section_callbacks:
  - \Drupal\permissions_repository\Controller\PermissionsRepositoryController::getSections

sections:
  - title: users
    weight: 1
    extended_help: 'another thing, another thing, another thing'
  - title: admin
    weight: 2
    extended_help: 'something, something, and something'

'access_something':
  title: 'Access something'
  description: 'Get an overview of all something.'
  weight: 1
  section: 'users'
  extended_help: 'Users with this permission can view the page [ABC]. Theyll be able to see [XYZ], [ABC2], and [XYZ2]. So, you should only give this permission to users who need to see [ABC].'

permission_callbacks:
  - \Drupal\permissions_repository\Controller\PermissionsRepositoryController::getPerms

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc