You are here

public function ViewUI::language in Drupal 9

Same name and namespace in other branches
  1. 8 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 1032

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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