public function ViewsBulkOperationsViewData::__construct in Views Bulk Operations (VBO) 4.0.x
Same name and namespace in other branches
- 8.3 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::__construct()
- 8 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::__construct()
- 8.2 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::__construct()
Object constructor.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher service.
\Drupal\Core\Pager\PagerManagerInterface $pagerManager: Pager manager service.
File
- src/
Service/ ViewsBulkOperationsViewData.php, line 76
Class
- ViewsBulkOperationsViewData
- Gets Views data needed by VBO.
Namespace
Drupal\views_bulk_operations\ServiceCode
public function __construct(EventDispatcherInterface $eventDispatcher, PagerManagerInterface $pagerManager) {
$this->eventDispatcher = $eventDispatcher;
$this->pagerManager = $pagerManager;
}