d6_node_type.yml

Same filename and directory in other branches
  1. 9 core/modules/node/migrations/d6_node_type.yml
  2. 8.9.x core/modules/node/migrations/d6_node_type.yml
  3. 10 core/modules/node/migrations/d6_node_type.yml
core/modules/node/migrations/d6_node_type.yml

File

core/modules/node/migrations/d6_node_type.yml

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

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