You are here

function menu_import_help in Menu Export/Import 7

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

Implementation of hook_help().

File

./menu_import.module, line 10
Module's main file, general definitions and hooks.

Code

function menu_import_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/help#menu_import':
      $output .= '<p>';
      $output .= t('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 new nodes containing initial content.');
      $output .= '</p><p>';
      $output .= t('Text files are expected to have the following structure:');
      $output .= '</p><code>Main page<br />-Sub-page 1<br />-Sub-page 2<br />--Sub-sub-page 3</code>';
      break;
  }
  return $output;
}