You are here

function better_social_sharing_buttons_help in Better Social Sharing Buttons 8

Same name and namespace in other branches
  1. 8.3 better_social_sharing_buttons.module \better_social_sharing_buttons_help()

Implements hook_help().

@inheritdoc

File

./better_social_sharing_buttons.module, line 38
Add template file for the social buttons.

Code

function better_social_sharing_buttons_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the better_social_sharing_buttons module.
    case 'help.page.better_social_sharing_buttons':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Add social sharing buttons to your website.') . '</p>';
      return $output;
    default:
  }
}