You are here

public function NodeRevisionDeleteInterface::getCandidatesRevisionsByNids in Node Revision Delete 8

Return the candidate revisions to be deleted if a group of nids.

All the nids must be of the same content type.

Parameters

array $nids: The nids.

Return value

array Array of vids.

1 method overrides NodeRevisionDeleteInterface::getCandidatesRevisionsByNids()
NodeRevisionDelete::getCandidatesRevisionsByNids in src/NodeRevisionDelete.php
Return the candidate revisions to be deleted if a group of nids.

File

src/NodeRevisionDeleteInterface.php, line 203

Class

NodeRevisionDeleteInterface
Interface NodeRevisionDeleteInterface.

Namespace

Drupal\node_revision_delete

Code

public function getCandidatesRevisionsByNids(array $nids);