You are here

function panels_node_edit_node in Panels 7.3

Same name and namespace in other branches
  1. 6.3 panels_node/panels_node.module \panels_node_edit_node()
  2. 6.2 panels_node/panels_node.module \panels_node_edit_node()

Access callback to determine if a user has edit access.

1 string reference to 'panels_node_edit_node'
panels_node_menu in panels_node/panels_node.module
Implementation of hook_menu().

File

panels_node/panels_node.module, line 83
panels_node.module

Code

function panels_node_edit_node($node) {
  if (!isset($node->panels_node)) {
    return FALSE;
  }
  return node_access('update', $node);
}