function admin_help in Admin 6
Implementation of hook_help().
File
- ./
admin.module, line 225
Code
function admin_help($path, $arg) {
// Fool node help to think we are on node/add
if ($arg[0] == 'admin' && $arg[1] == 'content' && $arg[2] == 'add' && $arg[3]) {
$path = 'node/add/' . $arg[3];
$arg = array(
'node',
'add',
$arg[3],
);
return module_invoke('node', 'help', $path, $arg);
}
}