You are here

protected function ViewsBulkOperationsFormTrait::getMultipageList in Views Bulk Operations (VBO) 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Form/ViewsBulkOperationsFormTrait.php \Drupal\views_bulk_operations\Form\ViewsBulkOperationsFormTrait::getMultipageList()

Build the selection info element.

Parameters

array $tempstore_data: VBO tempstore data array.

Return value

array Renderable array of the item list.

2 calls to ViewsBulkOperationsFormTrait::getMultipageList()
ViewsBulkOperationsBulkForm::viewsForm in src/Plugin/views/field/ViewsBulkOperationsBulkForm.php
Form constructor for the bulk form.
ViewsBulkOperationsController::updateSelection in src/Controller/ViewsBulkOperationsController.php
AJAX callback to update selection (multipage).

File

src/Form/ViewsBulkOperationsFormTrait.php, line 97

Class

ViewsBulkOperationsFormTrait
Defines common methods for Views Bulk Operations forms.

Namespace

Drupal\views_bulk_operations\Form

Code

protected function getMultipageList(array $tempstore_data) {
  $this
    ->addListData($tempstore_data);
  $list = $this
    ->getListRenderable($tempstore_data);
  return $list;
}