public function RollingInterval::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/ RollingInterval.php, line 21
Class
- RollingInterval
- Provides a period based on a rolling interval from the start date.
Namespace
Drupal\recurring_period\Plugin\RecurringPeriodCode
public function defaultConfiguration() {
return [
// The interval configuration.
'interval' => [
// The interval period. This is the ID of an interval plugin, for
// example 'month'.
'period' => '',
// The interval. This is a value which multiplies the period.
'interval' => '',
],
] + parent::defaultConfiguration();
}