public function ViewsUIController::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/src/Controller/ViewsUIController.php \Drupal\views_ui\Controller\ViewsUIController::__construct()
Constructs a new \Drupal\views_ui\Controller\ViewsUIController object.
Parameters
\Drupal\views\ViewsData $views_data: The Views data cache object.
File
- core/
modules/ views_ui/ src/ Controller/ ViewsUIController.php, line 39
Class
- ViewsUIController
- Returns responses for Views UI routes.
Namespace
Drupal\views_ui\ControllerCode
public function __construct(ViewsData $views_data) {
$this->viewsData = $views_data;
}