You are here

public function field_timer_text_date_field_base::getDefaultSettings in Field Timer 7.2

@inheritdoc

Overrides field_timer_text_base::getDefaultSettings

File

includes/field_timer_text.inc, line 276
Contains help classes to perform field_timer_text formatter related actions.

Class

field_timer_text_date_field_base
Base class for field_timer_text formatter and date field types.

Code

public function getDefaultSettings() {
  return parent::getDefaultSettings() + array(
    'title' => '',
    'title2' => '',
    'type2' => 'auto',
    'granularity_type2' => 'auto',
    'granularity_auto2' => 2,
    'granularity_manual2' => array(
      'day' => 'day',
    ),
    'fromto' => 'both',
  );
}