function apply_for_role_help in Apply for role 5
Same name and namespace in other branches
- 6 apply_for_role.module \apply_for_role_help()
- 7.2 apply_for_role.module \apply_for_role_help()
- 7 apply_for_role.module \apply_for_role_help()
Implementation of hook_help().
File
- ./
apply_for_role.module, line 15 - Allows users to apply for roles.
Code
function apply_for_role_help($section) {
switch ($section) {
case 'admin/build/trigger/apply_for_role':
$explanation = '<p>' . t('Triggers are system events, such as when new content is added or when a user logs in. Trigger module combines these triggers with actions (functional tasks), such as unpublishing content or e-mailing an administrator. The <a href="@url">Actions settings page</a> contains a list of existing actions and provides the ability to create and configure additional actions.', array(
'@url' => url('admin/settings/actions'),
)) . '</p>';
return $explanation . '<p>' . t('Below you can assign actions to run when certain role application related triggers happen. For example, you could email a user when their application is approved.') . '</p>';
case 'admin/help#apply_for_role':
return $explanation = '<p>' . t('The <em>Apply for roles</em> module allows users to apply for roles from their user page and allows administrators to easily view, approve and delete role applications.', array(
'@url' => url('admin/settings/apply_for_role'),
)) . '</p>';
}
}