You are here

addtocalendar.module in Add To Calendar Button (AddEvent.com) 8.4

Contains module code.

File

addtocalendar.module
View source
<?php

/**
 * @file
 * Contains module code.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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;
  }
}

Functions

Namesort descending Description
addtocalendar_help Implements hook_help().