public function MongodbNodeStorage::revisionIds in MongoDB 8
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).
Overrides NodeStorageInterface::revisionIds
File
- mongodb_node/
src/ MongodbNodeStorage.php, line 21 - Contains \Drupal\node\MongodbNodeStorage.
Class
Namespace
Drupal\mongodb_nodeCode
public function revisionIds(NodeInterface $node) {
return $this
->revisionQueryIds([
'entity_id' => $node
->id(),
]);
}