You are here

public function ViewsBulkOperationsViewData::__construct in Views Bulk Operations (VBO) 8.2

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

Object constructor.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher service.

File

src/Service/ViewsBulkOperationsViewData.php, line 66

Class

ViewsBulkOperationsViewData
Gets Views data needed by VBO.

Namespace

Drupal\views_bulk_operations\Service

Code

public function __construct(EventDispatcherInterface $eventDispatcher) {
  $this->eventDispatcher = $eventDispatcher;
}