You are here

public function ViewsBulkOperationsActionBase::setView in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 src/Action/ViewsBulkOperationsActionBase.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase::setView()
  2. 8.2 src/Action/ViewsBulkOperationsActionBase.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase::setView()
  3. 4.0.x src/Action/ViewsBulkOperationsActionBase.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionBase::setView()

Set view object.

Parameters

\Drupal\views\ViewExecutable $view: The processed view.

Overrides ViewsBulkOperationsActionInterface::setView

File

src/Action/ViewsBulkOperationsActionBase.php, line 56

Class

ViewsBulkOperationsActionBase
Views Bulk Operations action plugin base.

Namespace

Drupal\views_bulk_operations\Action

Code

public function setView(ViewExecutable $view) {
  $this->view = $view;
}