function addtocalendar_help in Add To Calendar Button (AddEvent.com) 8.3
Same name and namespace in other branches
- 8.4 addtocalendar.module \addtocalendar_help()
- 8 addtocalendar.module \addtocalendar_help()
- 8.2 addtocalendar.module \addtocalendar_help()
- 7.2 addtocalendar.module \addtocalendar_help()
- 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;
}
}