You are here

function role_delegation_help in Role Delegation 8

Same name and namespace in other branches
  1. 5 role_delegation.module \role_delegation_help()
  2. 6 role_delegation.module \role_delegation_help()
  3. 7 role_delegation.module \role_delegation_help()

Implements hook_help().

File

./role_delegation.module, line 33
Allows admins to grant roles the authority to assign selected roles to users.

Code

function role_delegation_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.role_delegation':
      $output = '<p>' . t('This module allows site administrators to grant some roles the authority to assign selected roles to users, without them needing the <em>administer permissions</em> permission.') . '</p>';
      $output .= '<p>' . t('It provides its own tab in the user profile so that roles can be assigned without needing access to the user edit form.') . '</p>';
      return $output;
  }
}