function event_type in Event 5
Same name and namespace in other branches
- 5.2 event.module \event_type()
Url wrapper function for static link to calendar by content type.
Return value
redirect to the event page for calendar node type.
Related topics
1 string reference to 'event_type'
- event_menu in ./
event.module - Implementation of hook_menu()
File
- ./
event.module, line 447
Code
function event_type($types = NULL, $view = NULL, $terms = NULL) {
drupal_goto('event/' . format_date(_event_user_time(), 'custom', 'Y/m/d') . '/' . ($view ? $view : variable_get('event_overview', 'month')) . '/' . $types);
}