public function NodeRevisionDeleteInterface::getCandidatesRevisionsByNumber in Node Revision Delete 8
Return a number of candidate revisions to be deleted.
Parameters
int $number: The number of revisions to return.
Return value
array Array of vids.
1 method overrides NodeRevisionDeleteInterface::getCandidatesRevisionsByNumber()
- NodeRevisionDelete::getCandidatesRevisionsByNumber in src/
NodeRevisionDelete.php - Return a number of candidate revisions to be deleted.
File
- src/
NodeRevisionDeleteInterface.php, line 177
Class
- NodeRevisionDeleteInterface
- Interface NodeRevisionDeleteInterface.
Namespace
Drupal\node_revision_deleteCode
public function getCandidatesRevisionsByNumber($number);