d7_user_role.yml
Same filename in other branches
File
-
core/
modules/ user/ migrations/ d7_user_role.yml
View source
- id: d7_user_role
- label: User roles
- migration_tags:
- - Drupal 7
- - Configuration
- source:
- plugin: d7_user_role
- process:
- id:
- -
- plugin: machine_name
- source: name
- -
- plugin: user_update_8002
- label: name
- permissions:
- -
- plugin: static_map
- source: permissions
- bypass: true
- map:
- 'use PHP for block visibility': 'use PHP for settings'
- 'administer site-wide contact form': 'administer contact forms'
- 'post comments without approval': 'skip comment approval'
- 'edit own blog entries': 'edit own blog content'
- 'edit any blog entry': 'edit any blog content'
- 'delete own blog entries': 'delete own blog content'
- 'delete any blog entry': 'delete any blog content'
- 'create forum topics': 'create forum content'
- 'delete any forum topic': 'delete any forum content'
- 'delete own forum topics': 'delete own forum content'
- 'edit any forum topic': 'edit any forum content'
- 'edit own forum topics': 'edit own forum content'
- - plugin: flatten
- weight: weight
- destination:
- plugin: entity:user_role
- migration_dependencies:
- optional:
- - block_content_type
- - contact_category
- - d7_comment_type
- - d7_filter_format
- - d7_node_type
- - d7_shortcut_set
- - d7_taxonomy_vocabulary
- - d7_taxonomy_vocabulary_translation
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.