You are here

public function LocaleEvent::getLangCodes in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}