You are here

function strongarm_help in Strongarm 6.2

Same name and namespace in other branches
  1. 7.2 strongarm.module \strongarm_help()

Implementation hook_help().

File

./strongarm.module, line 72

Code

function strongarm_help($path, $arg) {
  switch ($path) {
    case 'admin/help#strongarm':
      $output = file_get_contents(drupal_get_path('module', 'strongarm') . '/README.txt');
      return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
    case 'admin/settings/strongarm':
      return '<p>' . t("Strongarm lets site builders manage default variable settings. All the default values provided by Strongarm are listed on this page. Any overridden value can be reverted to its default by selecting its checkbox and clicking 'Reset to defaults'.") . '</p>';
  }
}