You are here

content_moderation.permissions.yml in Drupal 8

Same filename and directory in other branches
  1. 9 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