function NodeStorageInterface::revisionIds

Gets a list of node revision IDs for a specific node.

Parameters

\Drupal\node\NodeInterface $node: The node entity.

Return value

int[] Node revision IDs (in ascending order).

Deprecated

in drupal:11.3.0 and is removed from drupal:13.0.0. Use an entity query instead.

See also

https://www.drupal.org/node/3519187

1 method overrides NodeStorageInterface::revisionIds()
NodeStorage::revisionIds in core/modules/node/src/NodeStorage.php
Gets a list of node revision IDs for a specific node.

File

core/modules/node/src/NodeStorageInterface.php, line 28

Class

NodeStorageInterface
Defines an interface for node entity storage classes.

Namespace

Drupal\node

Code

public function revisionIds(NodeInterface $node);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.