You are here

function fblikebutton_help in Facebook Like Button 8

Implements hook_help()

File

./fblikebutton.module, line 12

Code

function fblikebutton_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.fblikebutton':
      $output = '<p>Configure the dynamic Like button. This Like button will like the URL you\'re visiting. ';
      $output .= 'You can set the content types on which the button displays, choose to display it in the ';
      $output .= 'content block or in the links area.</p>';
      $output .= '<p style="font-weight:bold;">You can also configure Static Like Button Blocks in the @link.</p>';
      return t($output, array(
        '@link' => Link::fromTextAndUrl('Block Layout page', Url::fromRoute('block.admin_display'))
          ->toString(),
      ));
  }
}