You are here

function calendar_ical_views_arguments in Calendar 5

Same name and namespace in other branches
  1. 5.2 calendar_ical.module \calendar_ical_views_arguments()

While we support the global selector, some might want to allow ONLY ical feeds so we support a stingy selector too

File

./calendar_ical.module, line 288
Adds ical functionality to Calendar.

Code

function calendar_ical_views_arguments() {
  $arguments = array(
    'calendar_ical' => array(
      'name' => t('Calendar: iCal Feed'),
      'handler' => 'views_handler_arg_ical',
      'help' => t('Add this as the last argument to a calendar view to provide an iCal feed of the view.'),
    ),
  );
  return $arguments;
}