node_revision_load

Versions
4.6
node_revision_load($node, $revision)

Return the revision with the specified revision number.

▾ 1 function calls node_revision_load()

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

Code

modules/node.module, line 1011

<?php
function node_revision_load($node, $revision) {
  return $node->revisions[$revision]['node'];
}
?>
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.