You are here

function block_exclude_pages_help in Block Exclude Pages 8

Same name and namespace in other branches
  1. 2.x block_exclude_pages.module \block_exclude_pages_help()

Implements hook_help().

File

./block_exclude_pages.module, line 16
Contains block_exclude_pages.module..

Code

function block_exclude_pages_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {

    // Main module help for the block_exclude_pages module.
    case 'help.page.block_exclude_pages':
      $output .= '<h3>' . t('About') . '</h3>';
      $description = block_exclude_pages_blockhelptext();
      $output .= '<p>' . t('This module adds an exclude pages filter for blocks') . '</p>';
      $output .= $description;
    default:
  }
  return $output;
}