You are here

function user_permissions_help in User Permissions 8

Implements hook_help().

File

./user_permissions.module, line 25
Module file for user_permissions.

Code

function user_permissions_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.user_permissions':
      $output = '';
      $output .= '<p>' . t("User Permissions provides an interface for giving additional permissions to individual users without the need to assign them to a special role. When this module is enabled, users with the 'administer permissions' permission can access the 'User Permissions' tab on each user's account.") . '</p>';
      return [
        '#markup' => $output,
      ];
  }
}