function opening_hours_theme in Opening hours 7
Same name and namespace in other branches
- 6 opening_hours.module \opening_hours_theme()
Implements hook_theme().
File
- ./
opening_hours.module, line 212 - Opening hours module.
Code
function opening_hours_theme($existing, $type, $theme, $path) {
return array(
'opening_hours_admin' => array(
'variables' => array(),
'path' => $path . '/templates',
'template' => 'opening_hours_admin',
),
'opening_hours_presentation' => array(
'variables' => array(),
'path' => $path . '/templates',
'template' => 'opening_hours_presentation',
),
'opening_hours_week' => array(
'variables' => array(
'node' => NULL,
),
'path' => $path . '/templates',
'template' => 'opening_hours_week',
),
);
}