You are here

public function MigrateNodeHierarchyHandler::fields in Node Hierarchy 7.4

Make the destination field visible.

File

./nodehierarchy.migrate.inc, line 19
Support for the Pathauto module.

Class

MigrateNodeHierarchyHandler
Field handler.

Code

public function fields() {
  if (module_exists('nodehierarchy')) {
    return array(
      'nodehierarchy:pnid' => t('NodeHierarchy Parent: The node id of the parent node.'),
      'nodehierarchy:customized' => t('NodeHierarchy Customized: Whether the menu title is customized.'),
      'nodehierarchy:enabled' => t('NodeHierarchy Menu Enabled: Whether the menu is enabled.'),
      'nodehierarchy:description' => t('NodeHierarchy Menu Description: The menu description.'),
      'nodehierarchy:link_title' => t('NodeHierarchy Menu Title'),
      'nodehierarchy:expanded' => t('Is the NodeHierarchy menu expanded.'),
      'nodehierarchy:weight' => t('NodeHierarchy Menu Description: The menu description.'),
      'nodehierarchy:view' => t('NodeHierarchy View: The node embedded children view for this node.'),
    );
  }
  else {
    return array();
  }
}