You are here

function onomasticon_help in Onomasticon 8

Same name and namespace in other branches
  1. 2.x onomasticon.module \onomasticon_help()

Implements hook_help().

File

./onomasticon.module, line 13
Custom filter to add glossary information to words.

Code

function onomasticon_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.onomasticon':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Custom filter to add glossary information to words.</p>');
      $output .= '<h3>' . t('Usage') . '</h3>';
      $output .= '<ol>';
      $output .= '<li>' . t('Create a taxonomy list.') . '</li>';
      $output .= '<li>' . t('Go to the settings of a text format of your choice from <a href="/admin/config/content/formats">/admin/config/content/formats</a>.') . '</li>';
      $output .= '<li>' . t('Enable Onomasticon Filter and scroll down to edit the filter\'s settings. The only mandatory setting is the vocabulary to use, all other settings have defaults built into the module.') . '</li>';
      $output .= '</ol>';
      return $output;
  }
}