function workflow_access_help in Workflow 7.2
Same name and namespace in other branches
- 8 modules/workflow_access/workflow_access.module \workflow_access_help()
Implements hook_help().
File
- workflow_access/
workflow_access.module, line 74 - Provides node access permissions based on workflow states.
Code
function workflow_access_help($path, $arg) {
$help = '';
switch ($path) {
case WORKFLOW_ADMIN_UI_PATH . '/manage/%/access':
$help = t("WARNING: Use of the 'Edit any', 'Edit own', and even 'View\n published content' permissions for the content type may override these\n access settings. You may need to <a href='!url'>alter the priority of\n the Workflow access module</a>.", array(
'!url' => url(WORKFLOW_ADMIN_UI_PATH . '/access'),
));
if (module_exists('og')) {
$help .= '<br>';
$help .= t('WARNING: Organic Groups (OG) is present and may interfere
with these settings.');
if (variable_get('og_node_access_strict', TRUE)) {
$help .= ' ';
$help .= t('In particular, <a href="!url">Strict node access
permissions</a> is enabled and may override Workflow access
settings.', array(
'!url' => url('admin/config/group/settings'),
));
}
}
break;
default:
break;
}
return $help;
}