function opigno_calendar_theme in Opigno calendar 3.x
Same name and namespace in other branches
- 8 opigno_calendar.module \opigno_calendar_theme()
Implements hook_theme().
File
- ./
opigno_calendar.module, line 18 - Contains opigno_calendar.module.
Code
function opigno_calendar_theme($existing, $type, $theme, $path) {
return [
'block__opigno_calendar' => [
'base hook' => 'block',
'add_event_link' => NULL,
],
'opigno_calendar_add_event' => [
'variables' => [
'add_event_link' => NULL,
],
],
'opigno_calendar_today' => [
'variables' => [],
],
];
}