You are here

agreement_types.yml in Agreement 3.0.x

Same filename and directory in other branches
  1. 8.2 migrations/agreement_types.yml
migrations/agreement_types.yml

File

migrations/agreement_types.yml
View source
  1. id: agreement_types
  2. label: Agreement types
  3. migration_tags:
  4. - Drupal 7
  5. source:
  6. plugin: agreement_type
  7. process:
  8. id:
  9. -
  10. plugin: machine_name
  11. source: name
  12. label: type
  13. path:
  14. -
  15. plugin: callback
  16. callable:
  17. - '\Drupal\agreement\AgreementHandler'
  18. - prefixPath
  19. source: path
  20. agreement: agreement
  21. settings:
  22. -
  23. plugin: default_value
  24. source: settings
  25. default_value: "a:0:{}"
  26. -
  27. plugin: callback
  28. callable: unserialize
  29. -
  30. plugin: agreement_settings
  31. migrations:
  32. - d7_user_role
  33. destination:
  34. plugin: entity:agreement
  35. config_name: agreement.agreement
  36. migration_dependencies:
  37. required:
  38. - d7_user_role