1 date_views_plugin_pager.inc public date_views_plugin_pager::set_argument_value($argument, $value)

Set the view's argument value.

File

core/modules/date/views/date_views_plugin_pager.inc, line 308
Date views pager plugin.

Class

date_views_plugin_pager
Date views pager plugin.

Code

public function set_argument_value($argument, $value) {
  $argument->argument = $value;
  $argument->date_range = $argument->date_handler->arg_range($value);
  $argument->min_date = $argument->date_range[0];
  $argument->max_date = $argument->date_range[1];
  // $argument->is_default works correctly for normal arguments, but does not
  // work correctly if we are swapping in a new value from the pager.
  $argument->is_default = FALSE;
}