function countdown_theme in Countdown 8
Same name and namespace in other branches
- 6 countdown.module \countdown_theme()
- 7 countdown.module \countdown_theme()
Implements hook_theme() for countdown_theme().
File
- ./
countdown.module, line 32 - Count to, or from, a specified date and display the output in a block.
Code
function countdown_theme($existing, $type, $theme, $path) {
return [
'countdown' => [
'variables' => [
'accuracy' => NULL,
'countdown_url' => NULL,
'countdown_event_name' => NULL,
'days_left' => NULL,
'hrs_left' => NULL,
'min_left' => NULL,
'secs_left' => NULL,
],
],
];
}