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

Breadcrumb

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

function LanguageDefault::__construct

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));
}

API Navigation

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