You are here

public function ViewsBulkOperationsViewData::getViewProvider in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::getViewProvider()
  2. 8.2 src/Service/ViewsBulkOperationsViewData.php \Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData::getViewProvider()
  3. 4.0.x 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\Service

Code

public function getViewProvider() {
  $views_data = $this
    ->getData();
  if (isset($views_data['table']['provider'])) {
    return $views_data['table']['provider'];
  }
  return FALSE;
}