ViewsBulkOperationsActionProcessorInterface.php in Views Bulk Operations (VBO) 8.2
Namespace
Drupal\views_bulk_operations\ServiceFile
src/Service/ViewsBulkOperationsActionProcessorInterface.phpView source
<?php
namespace Drupal\views_bulk_operations\Service;
/**
* Defines Views Bulk Operations action processor.
*/
interface ViewsBulkOperationsActionProcessorInterface {
/**
* Set values.
*
* @param array $view_data
* Data concerning the view that will be processed.
* @param mixed $view
* The current view object or NULL.
*/
public function initialize(array $view_data, $view = NULL);
/**
* Get full list of items from a specific view page.
*
* @param int $page
* Results page number.
*
* @return array
* Array of result data arrays.
*/
public function getPageList($page);
/**
* Populate entity queue for processing.
*
* @param array $list
* Array of selected view results.
* @param array $context
* Batch API context.
*/
public function populateQueue(array $list, array &$context = []);
/**
* Process results.
*/
public function process();
/**
* Helper function for processing results from view data.
*
* @param array $data
* Data concerning the view that will be processed.
* @param mixed $view
* The current view object or NULL.
*/
public function executeProcessing(array &$data, $view = NULL);
}
Interfaces
Name | Description |
---|---|
ViewsBulkOperationsActionProcessorInterface | Defines Views Bulk Operations action processor. |