You are here

function fpa_help in Fast Permissions Administration 3.0.x

Same name and namespace in other branches
  1. 8.2 fpa.module \fpa_help()
  2. 7.2 fpa.module \fpa_help()

Implements hook_help().

File

./fpa.module, line 21
Main module file for FPA.

Code

function fpa_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'user.admin_permissions':
      $output = '';
      $output .= '<p>' . t('Permissions and Module names will match on the readable or system name. The system name is provided as a togglable column.') . '</p>';
      $output .= '<p>' . t('Enter in the format of "permission@module", e.g. "admin@system" will show only permissions with the text "admin" in modules with the text "system".') . '</p>';
      return $output;
    default:
  }
}