You are here

function calendar_plugin_row::date_argument_handler in Calendar 7.3

Helper function to find the date argument handler for this view.

File

includes/calendar_plugin_row.inc, line 35
Contains the Calendar row style plugin.

Class

calendar_plugin_row
Plugin which creates a view on the resulting object and formats it as a Calendar node.

Code

function date_argument_handler() {
  foreach ($this->view->argument as $name => $handler) {
    if (date_views_handler_is_date($handler, 'argument')) {
      return $handler;
    }
  }
}