similarterms.module in Similar By Terms 8
Same filename and directory in other branches
The similarterms primary module file.
File
similarterms.moduleView source
<?php
/**
* @file
* The similarterms primary module file.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
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:
}
}
Functions
Name | Description |
---|---|
similarterms_help | Implements hook_help(). |