You are here

function library_help in Library 8

Same name and namespace in other branches
  1. 5.2 library.module \library_help()
  2. 6.2 library.module \library_help()
  3. 6 library.module \library_help()
  4. 7 library.module \library_help()

Implements hook_help().

File

./library.module, line 15
Contains library.module.

Code

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

    // Main module help for the library module.
    case 'help.page.library':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides library stock management') . '</p>';
      return $output;
    default:
  }
}