d6_node_type.yml
Same filename in other branches
File
-
core/
modules/ node/ migrations/ d6_node_type.yml
View source
- id: d6_node_type
- label: Node type configuration
- migration_tags:
- - Drupal 6
- - Configuration
- source:
- plugin: d6_node_type
- constants:
- preview: 1 # DRUPAL_OPTIONAL
- create_body: false
- process:
- type: type
- name: name
- module: module
- description: description
- help: help
- title_label: title_label
- 'preview_mode': 'constants/preview'
- 'display_submitted': display_submitted
- 'new_revision': 'options/revision'
- 'settings/node/options': options
- create_body: has_body
- create_body_label: body_label
- 'third_party_settings/menu_ui/available_menus':
- plugin: static_map
- bypass: true
- source: available_menus
- map:
- main-menu: main
- management: admin
- navigation: tools
- user-menu: account
- 'third_party_settings/menu_ui/parent':
- plugin: static_map
- bypass: true
- source: parent
- map:
- 'main-menu:': 'main:'
- 'management:': 'admin:'
- 'navigation:': 'tools:'
- 'user-menu:': 'account:'
- destination:
- plugin: entity:node_type
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.