You are here

public function view_custom_table_handler_sort_date::option_definition in Views Custom Table 7

Implements option_definition().

Overrides views_handler_sort::option_definition

File

views/handlers/view_custom_table_handler_sort_date.inc, line 21
Definition of views_handler_sort_date.

Class

view_custom_table_handler_sort_date
Basic sort handler for dates.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['granularity'] = array(
    'default' => 'second',
  );
  return $options;
}