recipe.yml
File
-
core/
recipes/ content_editor_role/ recipe.yml
View source
- name: 'Content editor role'
- description: 'Provides the Content editor role.'
- type: 'User role'
- install:
- # Node provides the `view own unpublished content` permission.
- - node
- config:
- actions:
- user.role.content_editor:
- # If this role already exists, then this action has no effect. If it doesn't exist, we'll create it with the following values.
- createIfNotExists:
- id: content_editor
- label: 'Content editor'
- weight: 2
- is_admin: false
- permissions:
- - 'access administration pages'
- - 'view own unpublished content'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.