You are here

function social_auth_facebook_help in Social Auth Facebook 8

Same name and namespace in other branches
  1. 8.2 social_auth_facebook.module \social_auth_facebook_help()
  2. 3.x social_auth_facebook.module \social_auth_facebook_help()

Implements hook_help().

File

./social_auth_facebook.module, line 13
Hook implementations for Social Auth Facebook module.

Code

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;
}