d7_action.yml

Same filename in other branches
  1. 9 core/modules/system/migrations/d7_action.yml
  2. 10 core/modules/system/migrations/d7_action.yml
  3. 11.x core/modules/system/migrations/d7_action.yml
core/modules/action/migrations/d7_action.yml

File

core/modules/action/migrations/d7_action.yml

View source
  1. id: d7_action
  2. label: Actions
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: action
  8. process:
  9. id:
  10. -
  11. plugin: machine_name
  12. source: aid
  13. label: label
  14. type: type
  15. plugin:
  16. -
  17. plugin: static_map
  18. source: callback
  19. map:
  20. system_goto_action: action_goto_action
  21. system_send_email_action: action_send_email_action
  22. system_message_action: action_message_action
  23. system_block_ip_action: 0
  24. comment_publish_action: entity:publish_action:comment
  25. comment_unpublish_action: entity:unpublish_action:comment
  26. comment_save_action: entity:save_action:comment
  27. node_publish_action: entity:publish_action:node
  28. node_unpublish_action: entity:unpublish_action:node
  29. node_save_action: entity:save_action:node
  30. bypass: true
  31. -
  32. plugin: skip_on_empty
  33. method: row
  34. configuration:
  35. -
  36. plugin: default_value
  37. source: parameters
  38. default_value: "a:0:{}"
  39. -
  40. plugin: callback
  41. callable: unserialize
  42. destination:
  43. plugin: entity:action

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.