function calendar_arg_position in Calendar 6.2
Same name and namespace in other branches
- 7 calendar.module \calendar_arg_position()
- 7.2 calendar.module \calendar_arg_position()
1 call to calendar_arg_position()
- calendar_date_select_form in ./
calendar.module - The date selector form.
File
- ./
calendar.module, line 388 - Adds calendar filtering and displays to Views.
Code
function calendar_arg_position($view) {
$pos = 0;
foreach ($view->argument as $argument) {
if ($argument->definition['handler'] == 'date_api_argument_handler') {
return $pos;
}
$pos++;
}
}