You are here

function hook_node_recur_access_alter in Node recur 7.2

Same name and namespace in other branches
  1. 7 node_recur.api.php \hook_node_recur_access_alter()

Implements hook_node_recur_access_alter().

Alter the access control for the node recur form

Parameters

&$access: Boolean status of access for the current user.

$node: The node being recurred.

File

./node_recur.api.php, line 13

Code

function hook_node_recur_access_alter(&$access, $node) {
  if ($node->type == 'story') {
    $access = TRUE;
  }
}