You are here

function addtocalendar_help in Add To Calendar Button (AddEvent.com) 8.2

Same name and namespace in other branches
  1. 8.4 addtocalendar.module \addtocalendar_help()
  2. 8 addtocalendar.module \addtocalendar_help()
  3. 8.3 addtocalendar.module \addtocalendar_help()
  4. 7.2 addtocalendar.module \addtocalendar_help()
  5. 7 addtocalendar.module \addtocalendar_help()

Implements hook_help().

File

./addtocalendar.module, line 16
Contains module code.

Code

function addtocalendar_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.addtocalendar':
      $output = file_get_contents(drupal_get_path('module', 'addtocalendar') . '/README.md');
      return $output;
  }
}