You are here

function social_media_help in Social media share 8

Implements hook_help().

File

./social_media.module, line 42
Contains social_media.module..

Code

function social_media_help($route_name, RouteMatchInterface $route_match) {
  if ($route_name != 'help.page.social_media') {
    return '';
  }
  $output = '';
  $output .= '<h3>' . t('About') . '</h3>';
  $output .= '<p>' . t('The social media share module allows the user to share current page to different social media platforms. It is rendered as block, you can place it anywhere of your site.') . '</p>';
  $output .= '<p>' . t('Module provides social media field type so that you can add it as field in entity and take all benefits from field API.') . '</p>';
  $output .= '<p>' . t('It is flexible to share any page of the site whether it is node, term , panels, view pages so on.') . '</p>';
  $output .= '<p>' . t('Analyse the <a href="https://git.drupalcode.org/project/social_media/blob/8.x-1.x/README.txt">Read more</a> to get more information about this module.') . '</p>';
  return $output;
}