You are here

public function TimeToDate::defaultConfiguration in Tamper 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides TamperBase::defaultConfiguration

File

src/Plugin/Tamper/TimeToDate.php, line 27

Class

TimeToDate
Plugin implementation of the TimetoDate plugin.

Namespace

Drupal\tamper\Plugin\Tamper

Code

public function defaultConfiguration() {
  $config = parent::defaultConfiguration();
  $config[self::SETTING_DATE_FORMAT] = "\\I\\t'\\s g \\o'\\c\\l\\o\\c\\k \\J\\i\\m\\.";
  return $config;
}