function LocaleEvent::getLangCodes

Same name and namespace in other branches
  1. 9 core/modules/locale/src/LocaleEvent.php \Drupal\locale\LocaleEvent::getLangCodes()
  2. 8.9.x core/modules/locale/src/LocaleEvent.php \Drupal\locale\LocaleEvent::getLangCodes()
  3. 10 core/modules/locale/src/LocaleEvent.php \Drupal\locale\LocaleEvent::getLangCodes()

Returns the language codes.

Return value

string[] $langCodes

File

core/modules/locale/src/LocaleEvent.php, line 44

Class

LocaleEvent
Defines a Locale event.

Namespace

Drupal\locale

Code

public function getLangCodes() {
    return $this->langCodes;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.