You are here

date_all_day.module in Date all day 8

Contains datetime_range_all_day.module.

File

date_all_day.module
View source
<?php

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

/**
 * Implements hook_help().
 */
function date_all_day_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the datetime_range_all_day module.
    case 'help.page.date_all_day':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Extends datetime range fields to provide &#039;All day&#039; functionality') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
date_all_day_help Implements hook_help().