You are here

public function SmartdateFieldBuilder::defaultConfiguration in Smart Date 3.4.x

Same name and namespace in other branches
  1. 3.3.x src/Plugin/diff/Field/SmartdateFieldBuilder.php \Drupal\smart_date\Plugin\diff\Field\SmartdateFieldBuilder::defaultConfiguration()

File

src/Plugin/diff/Field/SmartdateFieldBuilder.php, line 109

Class

SmartdateFieldBuilder
Plugin to diff text fields.

Namespace

Drupal\smart_date\Plugin\diff\Field

Code

public function defaultConfiguration() {
  $default_configuration = array(
    'timezone_override' => 0,
    'format' => 'default',
  );
  $default_configuration += parent::defaultConfiguration();
  return $default_configuration;
}