You are here

function social_auth_google_help in Social Auth Google 8.2

Same name and namespace in other branches
  1. 3.x social_auth_google.module \social_auth_google_help()

Implements hook_help().

File

./social_auth_google.module, line 13
Hook implementations for Social Auth Google module.

Code

function social_auth_google_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {
    case 'social_auth_google.settings_form':
      $output = '<h3>' . t('Configuration instructions') . '</h3>';
      $output .= '<p>';
      $output .= t('Configuration instructions and other useful documentation can be found at the <a href="@doc-url">Social Auth Google documentation</a>.', [
        '@doc-url' => 'https://www.drupal.org/docs/8/modules/social-api/social-api-2x/social-auth-2x/social-auth-google-2x-installation',
      ]);
      $output .= '</p>';
      break;
  }
  return $output;
}