1.20.x node.module node_tempstore_load($node_tempstore_id)

Load a node from the tempstore.

@since 1.11.0

Parameters

int $node_tempstore_id: The ID of a tempstore object.

Return value

Node|false: A fully-populated node entity, or FALSE if the node is not found.

File

modules/node/node.module, line 3866
The core module that allows content to be submitted to the site.

Code

function node_tempstore_load($node_tempstore_id) {
  return node_get_node_tempstore($node_tempstore_id);
}