function ViewUI::__construct
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::__construct()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::__construct()
- 10 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 154
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function __construct(ViewEntityInterface $storage) {
$this->entityType = 'view';
$this->storage = $storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.