You are here

function event_type in Event 5.2

Same name and namespace in other branches
  1. 5 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 465

Code

function event_type($types = NULL, $view = NULL, $terms = NULL) {
  drupal_goto('event/' . _event_format_url(_event_user_time()) . '/' . ($view ? $view : variable_get('event_overview', 'month')) . '/' . $types);
}