LanguageDefault::__construct

public LanguageDefault::__construct(array $values)

Constructs the default language object.

Parameters

array $values: The properties used to construct the default language.

File

core/lib/Drupal/Core/Language/LanguageDefault.php, line 30

Class

LanguageDefault
Provides a simple get and set wrapper to the default language object.

Namespace

Drupal\Core\Language

Code

public function __construct(array $values) {
  $this->set(new Language($values));
}
doc_Drupal
2016-10-29 09:22:18
Comments
Leave a Comment

Please login to continue.