You are here

function socialfeed_help in Social Feed 8

Same name and namespace in other branches
  1. 7.2 socialfeed.module \socialfeed_help()
  2. 7 socialfeed.module \socialfeed_help()

Implements hook_help().

File

./socialfeed.module, line 13
Contains socialfeed.module.

Code

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

    // Main module help for the socialfeed module.
    case 'help.page.socialfeed':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Socialfeed module allows you to fetch feeds directly from Facebook, Twitter & Instagram by simply installing it via <code>composer require drupal/socialfeed</code>') . '</p>';
      return $output;
    default:
  }
}