You are here

function social_simple_help in Social simple 8

Same name and namespace in other branches
  1. 2.0.x social_simple.module \social_simple_help()

Implements hook_help().

File

./social_simple.module, line 18
Contains social.module..

Code

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

    // Main module help for the social module.
    case 'help.page.social':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provide simple social share buttons for Twitter, Facebook and Google+') . '</p>';
      return $output;
    default:
  }
}