You are here

function shariff_help in Shariff Social Media Buttons 8

Same name and namespace in other branches
  1. 7 shariff.module \shariff_help()

Implements hook_help().

File

./shariff.module, line 19
Integrating Shariff library, providing settings form and block.

Code

function shariff_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.shariff':
      $output = [
        '#theme' => 'help_shariff',
        '#title' => t('About Shariff'),
        '#content' => t('The Shariff social media buttons library by heise online enables website users to share their favorite content without compromising their privacy. For more information see <a href="@url">@url</a>.', [
          '@url' => 'https://github.com/heiseonline/shariff',
        ]),
      ];
      return $output;
  }
}