You are here

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

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

Constructor.

Parameters

\Drupal\views_bulk_operations\Service\ViewsbulkOperationsViewDataInterface $viewDataService: View data provider service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionManager $actionManager: VBO action manager.

\Drupal\Core\Session\AccountProxyInterface $user: Current user object.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler service.

File

src/Service/ViewsBulkOperationsActionProcessor.php, line 112

Class

ViewsBulkOperationsActionProcessor
Defines VBO action processor.

Namespace

Drupal\views_bulk_operations\Service

Code

public function __construct(ViewsbulkOperationsViewDataInterface $viewDataService, EntityTypeManagerInterface $entityTypeManager, ViewsBulkOperationsActionManager $actionManager, AccountProxyInterface $user, ModuleHandlerInterface $moduleHandler) {
  $this->viewDataService = $viewDataService;
  $this->entityTypeManager = $entityTypeManager;
  $this->actionManager = $actionManager;
  $this->user = $user;
  $this->moduleHandler = $moduleHandler;
}