function workflow_admin_ui_help in Workflow 7.2
Same name and namespace in other branches
- 6.2 workflow_admin_ui/workflow_admin_ui.module \workflow_admin_ui_help()
- 6 workflow_admin_ui/workflow_admin_ui.module \workflow_admin_ui_help()
- 7 workflow_admin_ui/workflow_admin_ui.module \workflow_admin_ui_help()
Implements hook_help().
File
- workflow_admin_ui/
workflow_admin_ui.module, line 39 - Provides administrative UI for workflow.
Code
function workflow_admin_ui_help($path, $arg) {
switch ($path) {
case 'admin/modules':
case WORKFLOW_ADMIN_UI_PATH:
if (module_exists('workflownode') && module_exists('workflowfield')) {
$m = t('Do not enable Workfow Node and Workflow Field submodules at the
same time (unless you are in a migration phase). Visit the <a href=
"@url">modules</a> page.', array(
'@url' => url('admin/modules', array(
'fragment' => 'Workflow',
)),
));
drupal_set_message($m, 'warning');
}
return;
case WORKFLOW_ADMIN_UI_PATH . '/add':
return t('To get started, provide a name for your workflow. This name
will be used as a label when the workflow status is shown during node
editing.');
case WORKFLOW_ADMIN_UI_PATH . '/manage/%/states':
return t("To create a new state, enter its name in the last row of the\n 'State' column. Check the 'Active' box to make it effective. You may\n also drag it to the appropriate position.") . '<br />' . t("A state must be marked as active, to be available in the\n workflow's transitions.") . '<br />' . t("If you wish to inactivate a state that has content (i.e. count is\n not zero), then you need to select a state to which to reassign that\n content.");
case WORKFLOW_ADMIN_UI_PATH . '/manage/%/transitions':
return t('You are currently viewing the possible transitions to and from
workflow states. The state is shown in the left column; the state to be
moved to is to the right. For each transition, check the box next to
the role(s) that may initiate the transition. For example, if only the
"production editor" role may move a node from Review state to the
Published state, check the box next to "production editor". The author
role is built in and refers to the user who authored the node.') . '<br /><i>' . t("If not all roles are in the list, please review which roles may\n 'participate in workflows' <a href='!url'> on the Permissions page</a>.\n </i>", array(
'!url' => url('admin/people/permissions', array(
'fragment' => 'module-workflow',
)),
));
case WORKFLOW_ADMIN_UI_PATH . '/manage/%/labels':
return t('You can add labels to transitions if you don\'t like the
standard state labels. They will modify the Workflow form options, so
specific workflow transitions can have their own labels, relative to
the beginning and ending states. Rather than showing the user a
workflow box containing options like "review required" as a state in
the workflow, it could say "move to the editing department for grammar
review".');
}
}