social_auth_linkedin.module in Social Auth LinkedIn 3.x
Same filename and directory in other branches
Hook implementations for Social Auth LinkedIn module.
File
social_auth_linkedin.moduleView source
<?php
/**
* @file
* Hook implementations for Social Auth LinkedIn module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function social_auth_linkedin_help($route_name, RouteMatchInterface $route_match) {
$output = '';
switch ($route_name) {
case 'social_auth_linkedin.settings_form':
$output = '<h3>' . t('Configuration instructions') . '</h3>';
$output .= '<p>';
$output .= t('Configuration instructions and other useful documentation can be found at te <a href="@doc-url">Social Auth LinkedIn documentation</a>.', [
'@doc-url' => 'https://www.drupal.org/docs/8/modules/social-api/social-api-2x/social-auth-2x/social-auth-linkedin-2x-installation',
]);
$output .= '</p>';
break;
}
return $output;
}
Functions
Name | Description |
---|---|
social_auth_linkedin_help | Implements hook_help(). |