You are here

public function NodeRevisionDeleteInterface::getRevisionDeletionBatch in Node Revision Delete 8

Return the revision deletion batch definition.

Parameters

array $revisions: The revisions array.

bool $dry_run: The dry run option.

Return value

array The batch definition.

1 method overrides NodeRevisionDeleteInterface::getRevisionDeletionBatch()
NodeRevisionDelete::getRevisionDeletionBatch in src/NodeRevisionDelete.php
Return the revision deletion batch definition.

File

src/NodeRevisionDeleteInterface.php, line 190

Class

NodeRevisionDeleteInterface
Interface NodeRevisionDeleteInterface.

Namespace

Drupal\node_revision_delete

Code

public function getRevisionDeletionBatch(array $revisions, $dry_run);