function ViewUI::get

Same name in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::get()
  2. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::get()
  3. 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::get()

Overrides ConfigEntityInterface::get

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function get($property_name, $langcode = NULL) {
    if (property_exists($this->storage, $property_name)) {
        return $this->storage
            ->get($property_name, $langcode);
    }
    return $this->{$property_name} ?? NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.