function spaces_help in Spaces 7.3
Same name and namespace in other branches
- 6.3 spaces.module \spaces_help()
- 6 spaces.module \spaces_help()
- 6.2 spaces.module \spaces_help()
- 7 spaces.module \spaces_help()
Implements hook_help().
File
- ./
spaces.module, line 557
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>';
}
}