You are here

d7_user_role.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/user/migration_templates/d7_user_role.yml
core/modules/user/migration_templates/d7_user_role.yml

File

core/modules/user/migration_templates/d7_user_role.yml
View source
  1. id: d7_user_role
  2. label: User roles
  3. migration_tags:
  4. - Drupal 7
  5. source:
  6. plugin: d7_user_role
  7. process:
  8. id:
  9. -
  10. plugin: machine_name
  11. source: name
  12. -
  13. plugin: dedupe_entity
  14. entity_type: user_role
  15. field: id
  16. length: 32
  17. -
  18. plugin: user_update_8002
  19. label: name
  20. permissions:
  21. -
  22. plugin: static_map
  23. source: permissions
  24. bypass: true
  25. map:
  26. 'use PHP for block visibility': 'use PHP for settings'
  27. 'administer site-wide contact form': 'administer contact forms'
  28. 'post comments without approval': 'skip comment approval'
  29. 'edit own blog entries' : 'edit own blog content'
  30. 'edit any blog entry' : 'edit any blog content'
  31. 'delete own blog entries' : 'delete own blog content'
  32. 'delete any blog entry' : 'delete any blog content'
  33. 'create forum topics' : 'create forum content'
  34. 'delete any forum topic' : 'delete any forum content'
  35. 'delete own forum topics' : 'delete own forum content'
  36. 'edit any forum topic' : 'edit any forum content'
  37. 'edit own forum topics' : 'edit own forum content'
  38. - plugin: flatten
  39. weight: weight
  40. destination:
  41. plugin: entity:user_role
  42. migration_dependencies:
  43. optional:
  44. - d7_filter_format