You are here

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

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

Object constructor.

Parameters

string $provider: The provider of the current view.

array $viewData: The views data of the current view.

\Drupal\views\ViewExecutable $view: The current view.

File

src/ViewsBulkOperationsEvent.php, line 60

Class

ViewsBulkOperationsEvent
Defines Views Bulk Operations event type.

Namespace

Drupal\views_bulk_operations

Code

public function __construct($provider, array $viewData, ViewExecutable $view) {
  $this->provider = $provider;
  $this->viewData = $viewData;
  $this->view = $view;
}