You are here

public function ViewUI::language in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::language()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::language()

Gets the language of the entity.

Return value

\Drupal\Core\Language\LanguageInterface The language object.

Overrides EntityInterface::language

File

core/modules/views_ui/src/ViewUI.php, line 1049

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function language() {
  return $this->storage
    ->language();
}