You are here

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

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

The languages supported by this plugin.

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

Return value

string[] Supported languages.

Overrides DateRecurInterpreterPluginInterface::supportedLanguages

1 call to RlInterpreter::supportedLanguages()
RlInterpreter::interpret in src/Plugin/DateRecurInterpreter/RlInterpreter.php
Interpret a set of rules in a language.

File

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

Class

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

Namespace

Drupal\date_recur\Plugin\DateRecurInterpreter

Code

public function supportedLanguages() : array {
  return [
    'de',
    'en',
    'es',
    'fi',
    'fr',
    'it',
    'nl',
  ];
}