public function NodeRevisionGenerateInterface::getRevisionCreationBatch in Node Revision Delete 8
Return the revision creation batch definition.
Parameters
array $nodes_for_revisions: The nodes for revisions array.
int $revisions_number: Number of revisions to generate.
int $revisions_age: Interval in Unix timestamp format to add to the last revision date of the node.
Return value
array The batch definition.
1 method overrides NodeRevisionGenerateInterface::getRevisionCreationBatch()
- NodeRevisionGenerate::getRevisionCreationBatch in modules/
node_revision_generate/ src/ NodeRevisionGenerate.php - Return the revision creation batch definition.
File
- modules/
node_revision_generate/ src/ NodeRevisionGenerateInterface.php, line 44
Class
- NodeRevisionGenerateInterface
- Interface NodeRevisionGenerateInterface.
Namespace
Drupal\node_revision_generateCode
public function getRevisionCreationBatch(array $nodes_for_revisions, $revisions_number, $revisions_age);