You are here

public function LocaleEvent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/LocaleEvent.php \Drupal\locale\LocaleEvent::__construct()

Constructs a new LocaleEvent.

Parameters

array $lang_codes: Language codes for updated translations.

array $lids: (optional) List of string identifiers that have been updated / created.

File

core/modules/locale/src/LocaleEvent.php, line 39
Contains \Drupal\locale\LocaleEvent.

Class

LocaleEvent
Defines a Locale event.

Namespace

Drupal\locale

Code

public function __construct(array $lang_codes, array $lids = array()) {
  $this->langCodes = $lang_codes;
  $this->lids = $lids;
}