You are here

function services_api_key_auth_help in Services API Key Authentication 8.2

Same name and namespace in other branches
  1. 8 services_api_key_auth.module \services_api_key_auth_help()
  2. 3.0.x services_api_key_auth.module \services_api_key_auth_help()
  3. 2.0.x services_api_key_auth.module \services_api_key_auth_help()

Implements hook_help().

File

./services_api_key_auth.module, line 13
Provides an IP Consumer authentication provider.

Code

function services_api_key_auth_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the api_key_auth module.
    case 'help.page.api_key_auth':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('API Key Auth') . '</p>';
      $output .= '<p>' . t('The API Key Auth module provides an authentication
      provider to authenticate users via a GET or POST Parameter (api_key=1234)') . '</p>';
      return $output;
  }
}