public function ViewsBulkOperationsActionProcessor::__construct in Views Bulk Operations (VBO) 8.3
Same name and namespace in other branches
- 8 src/Service/ViewsBulkOperationsActionProcessor.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor::__construct()
- 8.2 src/Service/ViewsBulkOperationsActionProcessor.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor::__construct()
- 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\views_bulk_operations\Service\ViewsBulkOperationsActionManager $actionManager: VBO action manager.
\Drupal\Core\Session\AccountProxyInterface $currentUser: Current user object.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Module handler service.
File
- src/
Service/ ViewsBulkOperationsActionProcessor.php, line 107
Class
- ViewsBulkOperationsActionProcessor
- Defines VBO action processor.
Namespace
Drupal\views_bulk_operations\ServiceCode
public function __construct(ViewsbulkOperationsViewDataInterface $viewDataService, ViewsBulkOperationsActionManager $actionManager, AccountProxyInterface $currentUser, ModuleHandlerInterface $moduleHandler) {
$this->viewDataService = $viewDataService;
$this->actionManager = $actionManager;
$this->currentUser = $currentUser;
$this->moduleHandler = $moduleHandler;
}