function views_handler_field_date::option_definition

Same name in other branches
  1. 7.x-3.x handlers/views_handler_field_date.inc \views_handler_field_date::option_definition()

Overrides views_handler_field::option_definition

File

handlers/views_handler_field_date.inc, line 8

Class

views_handler_field_date
A handler to provide proper displays for dates.

Code

function option_definition() {
    $options = parent::option_definition();
    $options['date_format'] = array(
        'default' => 'small',
    );
    $options['custom_date_format'] = array(
        'default' => '',
    );
    return $options;
}