Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LocaleEvent.php

function 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 34

Class

LocaleEvent
Defines a Locale event.

Namespace

Drupal\locale

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal