You are here

public function FixedReferenceDateInterval::defaultConfiguration in Recurring Time Period 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides RecurringPeriodBase::defaultConfiguration

File

src/Plugin/RecurringPeriod/FixedReferenceDateInterval.php, line 37

Class

FixedReferenceDateInterval
Provides a fixed date period.

Namespace

Drupal\recurring_period\Plugin\RecurringPeriod

Code

public function defaultConfiguration() {
  return [
    'reference_date' => '',
    'interval' => [
      'period' => '',
      'interval' => '',
    ],
  ] + parent::defaultConfiguration();
}