You are here

function toc_js_node_help in Toc.js 8

Same name and namespace in other branches
  1. 2.0.x toc_js.module \toc_js_node_help()

Implements hook_help().

File

./toc_js.module, line 20
Contains toc_js.module.

Code

function toc_js_node_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the toc_js module.
    case 'help.page.toc_js':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provide a table of content for a full node with toc.js') . '</p>';
      return $output;
    default:
  }
}