You are here

social_auth_facebook.module in Social Auth Facebook 8

Same filename and directory in other branches
  1. 8.2 social_auth_facebook.module
  2. 3.x social_auth_facebook.module

Hook implementations for Social Auth Facebook module.

File

social_auth_facebook.module
View source
<?php

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

/**
 * Implements hook_help().
 */
function social_auth_facebook_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {
    case 'simple_fb_connect.settings_form':
      $output = '<h3>' . t('Configuration instructions') . '</h3>';
      $output .= '<p>';
      $output .= t('Configuration instructions and other useful documentation can be found from <a href="@handbook-url">Simple FB Connect Handbook</a>.', [
        '@handbook-url' => 'https://www.drupal.org/node/2474731',
      ]);
      $output .= '</p>';
      break;
  }
  return $output;
}

Functions

Namesort descending Description
social_auth_facebook_help Implements hook_help().