public function ViewEditFormController::__construct

Constructs a new ViewEditFormController object.

Parameters

string $operation: The name of the current operation.

\Drupal\user\TempStoreFactory $temp_store_factory: The factory for the temp store object.

\Symfony\Component\HttpFoundation\Request $request: The request object.

Overrides EntityFormController::__construct

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php, line 49
Contains Drupal\views_ui\ViewEditFormController.

Class

ViewEditFormController
Form controller for the Views edit form.

Namespace

Drupal\views_ui

Code

public function __construct($operation, TempStoreFactory $temp_store_factory, Request $request) {
  parent::__construct($operation);
  $this->tempStore = $temp_store_factory
    ->get('views');
  $this->request = $request;
}