content_moderation.permissions.yml

Same filename in other branches
  1. 8.9.x core/modules/content_moderation/content_moderation.permissions.yml
  2. 10 core/modules/content_moderation/content_moderation.permissions.yml
  3. 11.x core/modules/content_moderation/content_moderation.permissions.yml
core/modules/content_moderation/content_moderation.permissions.yml

File

core/modules/content_moderation/content_moderation.permissions.yml

View source
  1. view any unpublished content:
  2. title: 'View any unpublished content'
  3. view latest version:
  4. title: 'View the latest version'
  5. description: 'Requires the "View any unpublished content" or "View own unpublished content" permission'
  6. permission_callbacks:
  7. - \Drupal\content_moderation\Permissions::transitionPermissions

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.