d7_action.yml

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

File

core/modules/system/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. comment_unpublish_by_keyword_action: 0
  31. node_unpublish_by_keyword_action: 0
  32. node_assign_owner_action: 0
  33. bypass: true
  34. -
  35. plugin: skip_on_empty
  36. method: row
  37. configuration:
  38. -
  39. plugin: default_value
  40. source: parameters
  41. default_value: "a:0:{}"
  42. -
  43. plugin: callback
  44. callable: unserialize
  45. destination:
  46. plugin: entity:action

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