You are here

public function ViewsUIController::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Controller/ViewsUIController.php \Drupal\views_ui\Controller\ViewsUIController::__construct()
  2. 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\Controller

Code

public function __construct(ViewsData $views_data) {
  $this->viewsData = $views_data;
}