You are here

protected function ViewsBulkOperationsActionProcessor::setActionView in Views Bulk Operations (VBO) 8.2

Same name and namespace in other branches
  1. 8.3 src/Service/ViewsBulkOperationsActionProcessor.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor::setActionView()
  2. 4.0.x src/Service/ViewsBulkOperationsActionProcessor.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor::setActionView()

Sets the current view object as the executed action parameter.

1 call to ViewsBulkOperationsActionProcessor::setActionView()
ViewsBulkOperationsActionProcessor::populateQueue in src/Service/ViewsBulkOperationsActionProcessor.php
Populate entity queue for processing.

File

src/Service/ViewsBulkOperationsActionProcessor.php, line 332

Class

ViewsBulkOperationsActionProcessor
Defines VBO action processor.

Namespace

Drupal\views_bulk_operations\Service

Code

protected function setActionView() {
  if (isset($this->action) && method_exists($this->action, 'setView')) {
    $this->action
      ->setView($this->view);
  }
}