You are here

public function ViewUI::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::__construct()

Constructs a View UI object.

Parameters

\Drupal\views\ViewEntityInterface $storage: The View storage object to wrap.

File

core/modules/views_ui/src/ViewUI.php, line 164
Contains \Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function __construct(ViewEntityInterface $storage) {
  $this->entityType = 'view';
  $this->storage = $storage;
}