You are here

function menu_import_help in Menu Export/Import 6

Same name and namespace in other branches
  1. 7 menu_import.module \menu_import_help()

Implementation of hook_help().

File

./menu_import.module, line 18
Module's main file.

Code

function menu_import_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/help#menu_import':
      $output .= '<p>';
      $output .= t('The Menu Import module allows you to import a menu hierarchy from an indented (by dash or asterix symbol) text file. This can be used to either arrange pre-existing content or stub out an arrangement with empty nodes. <br/>Text files are expected to have the following structure:<br/><code>Main page<br/>-Sub-page 1<br/>-Sub-page 2<br/>--Sub-sub-page 3</code>. Export feature is also available for migration to a newer version of Drupal.');
      $output .= '</p>';
      break;
  }
  return $output;
}