You are here

function similarterms_help in Similar By Terms 8

Same name and namespace in other branches
  1. 6 similarterms.module \similarterms_help()
  2. 7 similarterms.module \similarterms_help()

Implements hook_help().

File

./similarterms.module, line 13
The similarterms primary module file.

Code

function similarterms_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.similarterms':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Similar by Terms module provides context for content items by displaying a block of other similar content.') . '</p>';
      $output .= '<p>' . t('Similarity is based on the taxonomy terms assigned to content.') . '</p>';
      return $output;
    default:
  }
}