function time_range_help in Time Range 8
Implements hook_help().
File
- ./
time_range.module, line 13 - Module implementation file.
Code
function time_range_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.time_range':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module does not store time data. The storage of time is provided by Drupal core.') . '</p>';
$output .= '<dl>';
$output .= '<dt>' . t('General') . '</dt>';
$output .= '<dd>' . t('Create a Date Range field, select Day and time as field type.') . '</dd>';
$output .= '<dd>' . t("To select Time range, go to your content type's form display settings and select Time Range.") . '</dd>';
$output .= '<dd>' . t("If you don't want to see the date on the content's display, go to the content type's display settings and change the Date/time format to the desired configuration.") . '</dd>';
$output .= '<dd>' . t('If you have suggestions or questions, please file an issue at <a href="https://github.com/DravenK/time-range/issues">Time Range</a>\'s page on github , or <a href="https://www.drupal.org/project/time_range">Time Range</a>\'s project page on drupal.org .') . '</dd>';
$output .= '</dl>';
return $output;
}
return NULL;
}