You are here

public function NodeRevisionGenerateInterface::getAvailableNodesForRevisions in Node Revision Delete 8

Get the available nodes to generate revisions.

Returns the ids of the available nodes to generate the revisions and the next date (Unix timestamp) of the revision to be generated for that node.

Parameters

array $bundles: An array with the selected content types to generate node revisions.

int $revisions_age: Interval in Unix timestamp format to add to the last revision date of the node.

Return value

array Returns the available nodes ids to generate the revisions and its next revision date.

1 method overrides NodeRevisionGenerateInterface::getAvailableNodesForRevisions()
NodeRevisionGenerate::getAvailableNodesForRevisions in modules/node_revision_generate/src/NodeRevisionGenerate.php
Get the available nodes to generate revisions.

File

modules/node_revision_generate/src/NodeRevisionGenerateInterface.php, line 28

Class

NodeRevisionGenerateInterface
Interface NodeRevisionGenerateInterface.

Namespace

Drupal\node_revision_generate

Code

public function getAvailableNodesForRevisions(array $bundles, $revisions_age);