You are here

public function RlInterpreter::defaultConfiguration in Recurring Dates Field 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::defaultConfiguration()
  2. 3.x src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::defaultConfiguration()
  3. 3.1.x src/Plugin/DateRecurInterpreter/RlInterpreter.php \Drupal\date_recur\Plugin\DateRecurInterpreter\RlInterpreter::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides DateRecurInterpreterPluginBase::defaultConfiguration

File

src/Plugin/DateRecurInterpreter/RlInterpreter.php, line 85

Class

RlInterpreter
Provides an interpreter implemented by rlanvin/php-rrule.

Namespace

Drupal\date_recur\Plugin\DateRecurInterpreter

Code

public function defaultConfiguration() : array {
  return [
    'show_start_date' => TRUE,
    'show_until' => TRUE,
    'date_format' => '',
    'show_infinite' => TRUE,
  ];
}