public function ViewUI::get

Overrides \Drupal\Core\Config\Entity\ConfigEntityBase::get().

Overrides ComplexDataInterface::get

1 call to ViewUI::get()
ViewUI::cacheSet in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Sets a cached view object in the user tempstore.

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php, line 158
Definition of Drupal\views_ui\ViewUI.

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 isset($this->{$property_name}) ? $this->{$property_name} : NULL;
}