function rules_help in Rules 7.2
Same name and namespace in other branches
- 8.3 rules.module \rules_help()
- 6 rules_admin/rules_admin.module \rules_help()
Implements hook_help().
File
- ./
rules.module, line 1663 - Rules engine module.
Code
function rules_help($path, $arg) {
// Only enable the help if the admin module is active.
if ($path == 'admin/help#rules' && module_exists('rules_admin')) {
$output['header'] = array(
'#markup' => t('Rules documentation is kept online. Please use the links below for more information about Rules. Feel free to contribute to improving the online documentation!'),
);
// Build a list of essential Rules help pages, formatted as a bullet list.
$link_list['rules'] = l(t('Rules introduction'), rules_external_help('rules'));
$link_list['terminology'] = l(t('Rules terminology'), rules_external_help('terminology'));
$link_list['scheduler'] = l(t('Rules Scheduler'), rules_external_help('scheduler'));
$link_list['coding'] = l(t('Coding for Rules'), rules_external_help('coding'));
$output['topic-list'] = array(
'#markup' => theme('item_list', array(
'items' => $link_list,
)),
);
return render($output);
}
}