You are here

function event_term in Event 5

Same name and namespace in other branches
  1. 5.2 event.module \event_term()

Url wrapper function for static link to calendar by taxonomy terms.

Return value

redirect to the event page for calendar taxonomy term.

Related topics

1 string reference to 'event_term'
event_menu in ./event.module
Implementation of hook_menu()

File

./event.module, line 457

Code

function event_term($filter = NULL, $view = NULL) {
  drupal_goto('event/' . format_date(_event_user_time(), 'custom', 'Y/m/d') . '/' . ($view ? $view : variable_get('event_overview', 'month')) . '/all/' . $filter);
}