You are here

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

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

Object constructor.

Parameters

\Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewDataInterface $viewData: The VBO View Data provider service.

File

src/EventSubscriber/ViewsBulkOperationsEventSubscriber.php, line 33

Class

ViewsBulkOperationsEventSubscriber
Defines module event subscriber class.

Namespace

Drupal\views_bulk_operations\EventSubscriber

Code

public function __construct(ViewsBulkOperationsViewDataInterface $viewData) {
  $this->viewData = $viewData;
}