function social_auth_facebook_help in Social Auth Facebook 3.x
Same name and namespace in other branches
- 8.2 social_auth_facebook.module \social_auth_facebook_help()
- 8 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 'social_auth_facebook.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 Facebook documentation</a>.', [
'@doc-url' => 'https://www.drupal.org/docs/8/modules/social-api/social-api-2x/social-auth-2x/social-auth-facebook-2x-installation',
]);
$output .= '</p>';
break;
}
return $output;
}