d7_node_type.yml

Same filename in other branches
  1. 9 core/modules/node/migrations/d7_node_type.yml
  2. 8.9.x core/modules/node/migrations/d7_node_type.yml
  3. 11.x core/modules/node/migrations/d7_node_type.yml
core/modules/node/migrations/d7_node_type.yml

File

core/modules/node/migrations/d7_node_type.yml

View source
  1. id: d7_node_type
  2. label: Node type configuration
  3. migration_tags:
  4. - Drupal 7
  5. - Configuration
  6. source:
  7. plugin: d7_node_type
  8. constants:
  9. preview: 1 # DRUPAL_OPTIONAL
  10. process:
  11. type: type
  12. name: name
  13. description: description
  14. help: help
  15. title_label: title_label
  16. preview_mode: 'constants/preview'
  17. display_submitted: display_submitted
  18. new_revision: 'options/revision'
  19. create_body: create_body
  20. create_body_label: body_label
  21. 'third_party_settings/menu_ui/available_menus':
  22. plugin: static_map
  23. bypass: true
  24. source: available_menus
  25. map:
  26. main-menu: main
  27. management: admin
  28. navigation: tools
  29. user-menu: account
  30. 'third_party_settings/menu_ui/parent':
  31. plugin: static_map
  32. bypass: true
  33. source: parent
  34. map:
  35. 'main-menu:0:': 'main:'
  36. 'management:0:': 'admin:'
  37. 'navigation:0:': 'tools:'
  38. 'user-menu:0:': 'account:'
  39. destination:
  40. plugin: entity:node_type

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