I want to load the node details for a specific revision. I tried using the following code.
use Drupal\node\Entity\Node; $nid = 1171; $vid = 9423; $rev_node = Node::load($nid, $vid, TRUE);
I also tried the following code.
$rev_node = node_load($nid, $vid);
It always loads the latest version, irrespective of the revision ID passed to the method/function call.
Is there a way to load the data for a specific revision?