node_revision_list

Versions
4.6 – 7
node_revision_list($node)

Return a list of all the existing revision numbers.

▾ 2 functions call node_revision_list()

book_revision_load in modules/book.module
Return the most recent revision that matches the specified conditions.
queue_vote in modules/queue.module

Code

modules/node.module, line 1101

<?php
function node_revision_list($node) {
  if (is_array($node->revisions)) {
    return array_keys($node->revisions);
  }
  else {
    return array();
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.