You are here

function spaces_help in Spaces 6.3

Same name and namespace in other branches
  1. 6 spaces.module \spaces_help()
  2. 6.2 spaces.module \spaces_help()
  3. 7.3 spaces.module \spaces_help()
  4. 7 spaces.module \spaces_help()

Implementation of hook_help().

File

./spaces.module, line 552

Code

function spaces_help($path, $arg) {
  switch ($path) {
    case 'admin/help#spaces':
      $output = file_get_contents(drupal_get_path('module', 'spaces') . '/README.txt');
      return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
  }
}