You are here

protected function BulkEditForm::getBulkEditEntityData in Views Bulk Edit 8

Same name and namespace in other branches
  1. 8.2 src/Form/BulkEditForm.php \Drupal\views_bulk_edit\Form\BulkEditForm::getBulkEditEntityData()

Gets the saved entity data.

Return value

array An array of saved entity data.

2 calls to BulkEditForm::getBulkEditEntityData()
BulkEditForm::buildForm in src/Form/BulkEditForm.php
Form constructor.
BulkEditForm::getEntitiesByBundle in src/Form/BulkEditForm.php
Gets the loaded entities.

File

src/Form/BulkEditForm.php, line 237

Class

BulkEditForm
The bulk edit form.

Namespace

Drupal\views_bulk_edit\Form

Code

protected function getBulkEditEntityData() {
  $privateStore = $this->privateTempStoreFactory
    ->get('views_bulk_edit');
  return $privateStore
    ->get('entity_data') ?: [];
}