You are here

calendar_link.module in Calendar Link 8

Same filename and directory in other branches
  1. 2.x calendar_link.module

Hooks for the Calendar Link module.

File

calendar_link.module
View 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

Namesort descending Description
calendar_link_help Implements hook_help().