You are here

public function TestInterpreter::supportedLanguages in Recurring Dates Field 3.x

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

The languages supported by this plugin.

Two letter langcodes. E.g: 'en', 'fr', etc.

Return value

string[] Supported languages.

Overrides DateRecurInterpreterPluginInterface::supportedLanguages

File

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

Class

TestInterpreter
Provides an interpreter for testing.

Namespace

Drupal\date_recur_interpreter_test\Plugin\DateRecurInterpreter

Code

public function supportedLanguages() : array {
  return [
    'es',
  ];
}