You are here

public function ViewsBulkOperationsController::__construct in Views Bulk Operations (VBO) 8

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

Constructs a new controller object.

Parameters

\Drupal\user\PrivateTempStoreFactory $tempStoreFactory: User private temporary storage factory.

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessorInterface $actionProcessor: Views Bulk Operations action processor.

File

src/Controller/ViewsBulkOperationsController.php, line 38

Class

ViewsBulkOperationsController
Defines VBO controller class.

Namespace

Drupal\views_bulk_operations\Controller

Code

public function __construct(PrivateTempStoreFactory $tempStoreFactory, ViewsBulkOperationsActionProcessorInterface $actionProcessor) {
  $this->tempStoreFactory = $tempStoreFactory;
  $this->actionProcessor = $actionProcessor;
}