public function NodeRevisionDeleteInterface::getCandidatesRevisions in Node Revision Delete 8
Return the list of candidate revisions to be deleted.
Parameters
string $content_type: Content type machine name.
int $number: The number of revisions to return.
Return value
array Array of vids.
1 method overrides NodeRevisionDeleteInterface::getCandidatesRevisions()
- NodeRevisionDelete::getCandidatesRevisions in src/
NodeRevisionDelete.php - Return the list of candidate revisions to be deleted.
File
- src/
NodeRevisionDeleteInterface.php, line 123
Class
- NodeRevisionDeleteInterface
- Interface NodeRevisionDeleteInterface.
Namespace
Drupal\node_revision_deleteCode
public function getCandidatesRevisions($content_type, $number = PHP_INT_MAX);