function countdown_help in Countdown 8
Same name and namespace in other branches
- 5 countdown.module \countdown_help()
- 6 countdown.module \countdown_help()
- 7.2 countdown.module \countdown_help()
- 7 countdown.module \countdown_help()
Implements hook_help() for countdown_help().
File
- ./
countdown.module, line 13 - Count to, or from, a specified date and display the output in a block.
Code
function countdown_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.countdown':
$path_validator = \Drupal::pathValidator();
$output = '';
$output .= '<h3>' . t('"Don\'t forget to configure the event name and date in admin/structure/block". Please follow below mentioned steps') . '</h3>';
$output .= '<ul>';
$output .= '<li>' . t('Click on "Place block" button.') . '</li>';
$output .= '<li>' . t('Search "Countdown block" using filter text box.') . '</li>';
$output .= '<li>' . t('Click on "Place block" button again and configure the event details.') . '</li>';
$output .= '</ul>';
return $output;
}
}