calendar_link.module in Calendar Link 8
Same filename and directory in other branches
Hooks for the Calendar Link module.
File
calendar_link.moduleView source
<?php
/**
* @file
* Hooks for the Calendar Link module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function calendar_link_help($route_name, RouteMatchInterface $route_match) {
$output = '';
switch ($route_name) {
case 'help.page.calendar_link':
$output = check_markup(file_get_contents(dirname(__FILE__) . '/README.md'));
}
return $output;
}
Functions
Name | Description |
---|---|
calendar_link_help | Implements hook_help(). |