You are here

function opigno_course_help in Opigno course 8

Same name and namespace in other branches
  1. 3.x opigno_course.module \opigno_course_help()

Implements hook_help().

File

./opigno_course.module, line 14
Contains opigno_course.module.

Code

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

    // Main module help for the opigno_course module.
    case 'help.page.opigno_course':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Adds course feature to your Opigno instance.') . '</p>';
      return $output;
    default:
      return '';
  }
}