You are here

public function Fixed::defaultConfiguration in Commerce Recurring Framework 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides IntervalBase::defaultConfiguration

File

src/Plugin/Commerce/BillingSchedule/Fixed.php, line 30

Class

Fixed
Provides a fixed interval billing schedule.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\BillingSchedule

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'start_month' => 1,
    'start_day' => 1,
  ];
}