You are here

function node_noindex_help in Node Noindex 7

Implements hook_help().

File

./node_noindex.module, line 6

Code

function node_noindex_help($path, $arg) {
  switch ($path) {
    case 'admin/help#node_noindex':
      $helptext = t('<p>The <strong>Node noindex</strong> module lets the administrator set the <code>robots</code> metatag in HTML head to <code>noindex</code>.</p>');
      if (function_exists('advanced_help_hint_docs')) {
        $helptext .= '<p>' . advanced_help_hint_docs('node_noindex', 'https://www.drupal.org/docs/7/modules/node-noindex', TRUE) . '</p>';
      }
      return $helptext;
      break;
  }
}