public function view_custom_table_handler_field_date_time::option_definition in Views Custom Table 7
Implements option_definition().
Overrides views_handler_field::option_definition
File
- views/
handlers/ view_custom_table_handler_field_date_time.inc, line 18 - Definition of views_handler_field_date.
Class
- view_custom_table_handler_field_date_time
- A handler to provide proper displays for dates.
Code
public function option_definition() {
$options = parent::option_definition();
$options['date_format'] = array(
'default' => 'small',
);
$options['custom_date_format'] = array(
'default' => '',
);
$options['second_date_format_custom'] = array(
'default' => '',
);
$options['second_date_format'] = array(
'default' => 'small',
);
$options['timezone'] = array(
'default' => '',
);
return $options;
}