You are here

function menu_force_help in Menu Force 8

Implements hook_help().

File

./menu_force.module, line 13
Core functions for the Text Selection module.

Code

function menu_force_help($route_name) {
  switch ($route_name) {
    case 'help.page.menu_force':
      $output = '<p>' . t('<strong>INTRODUCTION</strong>') . '</p>';
      $output .= '<p>' . t('This module enables you to make Menu Settings required on specific content types.<br/><br/>It forces a node from one or more content types to be included in the menu system before the content will be saved successfully. This can be useful in a number of situations, e.g. when using [menupath-raw] in the pathauto settings, which expects a node to live in the menu system. This module makes sure it does.') . '</p>';
      $output .= '<p>' . t('<strong>INSTALLATION</strong>') . '</p>';
      $output .= '<p>' . t('<ul>
                            <li>Enable the module </li>
                            <li>Navigate to Administration -> Structure -> Content Types -> YOUR CONTENT TYPE</li>
                            <li>You can force menu settings in the fieldset \'Menu settings\' </li>
                            <li>When enabled, adding or editing nodes of this content type will be impossible without adding a menu entry.</li>
                         ') . '</p>';
      return $output;
  }
}