Skip to content
Snippets Groups Projects

Issue #3104900: Implement hook_help()

1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
+ 13
0
@@ -6,6 +6,19 @@
*/
use Drupal\Core\Database\Database;
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function shs_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.shs':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Simple Hierarchical Select module provides a new form widget for taxonomy fields that allows users to select a term by browsing through the hierarchy of vocabularies. This widget is available in node forms and as a Views exposed filter. The module is inspired by the Hierarchical Select module, but is simpler and more streamlined. Unlike Hierarchical Select, this module is designed specifically for taxonomy terms and includes Views exposed filter functionality.') . '</p>';
return $output;
}
}
/**
* List all javascript classes used to create models and views in the widget.
Loading