You are here

function hook_revisioning_access_node_revision in Revisioning 7

Let other modules weigh in when deciding wheter a node may be accessed.

Parameters

string $revision_op: For instance 'publish revisions', 'delete revisions'.

object $node:

Return value

one of NODE_ACCESS_ALLOW, NODE_ACCESS_DENY, NODE_ACCESS_IGNORE

1 invocation of hook_revisioning_access_node_revision()
_revisioning_access_node_revision in ./revisioning.module
Determine whether the supplied revision operation is permitted on the node.

File

./revisioning.api.php, line 47
API documentation for Revisioning module.

Code

function hook_revisioning_access_node_revision($revision_op, $node) {
}