You are here

social_auth_google.module in Social Auth Google 3.x

Same filename and directory in other branches
  1. 8.2 social_auth_google.module

Hook implementations for Social Auth Google module.

File

social_auth_google.module
View source
<?php

/**
 * @file
 * Hook implementations for Social Auth Google module.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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;
}

Functions

Namesort descending Description
social_auth_google_help Implements hook_help().