function NodeStorageInterface::revisionIds

Same name in other branches
  1. 8.9.x core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::revisionIds()
  2. 10 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::revisionIds()
  3. 11.x core/modules/node/src/NodeStorageInterface.php \Drupal\node\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).

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 23

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.