function time_field_help in Time Field For Drupal 8.x / 9.x 8
Same name and namespace in other branches
- 2.x time_field.module \time_field_help()
Implements hook_help().
File
- ./
time_field.module, line 13 - Contains time_field.module.
Code
function time_field_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the time_field module.
case 'help.page.time_field':
$output = '';
$output .= '<h3>' . t('What "Time field" module provides?') . '</h3>';
$output .= '<p>' . t('This module provides Time and TimeRange fields also corresponding widgets and formatters.') . '</p>';
$output .= '<h3>' . t('How it saves data?') . '</h3>';
$output .= '<p>' . t('Time field module saves time data as integers number of seconds passed through midnight.') . '</p>';
return $output;
default:
}
}