You are here

public function TestInterpreter::defaultConfiguration in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::defaultConfiguration()
  2. 3.0.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::defaultConfiguration()
  3. 3.1.x tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php \Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter\TestInterpreter::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides DateRecurInterpreterPluginBase::defaultConfiguration

File

tests/modules/date_recur_interpreter_test/src/Plugin/DateRecurInterpreter/TestInterpreter.php, line 24

Class

TestInterpreter
Provides an interpreter for testing.

Namespace

Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter

Code

public function defaultConfiguration() : array {
  return [
    'show_foo' => FALSE,
  ];
}