public function ViewsBulkOperationsViewData::getViewProvider 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::getViewProvider()
- 8 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::getViewProvider()
- 8.2 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::getViewProvider()
Get view provider.
Return value
string View provider ID.
Overrides ViewsBulkOperationsViewDataInterface::getViewProvider
1 call to ViewsBulkOperationsViewData::getViewProvider()
- ViewsBulkOperationsViewData::init in src/
Service/ ViewsBulkOperationsViewData.php - Initialize additional variables.
File
- src/
Service/ ViewsBulkOperationsViewData.php, line 130
Class
- ViewsBulkOperationsViewData
- Gets Views data needed by VBO.
Namespace
Drupal\views_bulk_operations\ServiceCode
public function getViewProvider() {
$views_data = $this
->getData();
if (isset($views_data['table']['provider'])) {
return $views_data['table']['provider'];
}
return FALSE;
}