function panels_add_panel_access_callback in Panels 7.3
Access callback to determine if user has access to add panel nodes.
1 string reference to 'panels_add_panel_access_callback'
- panels_node_menu in panels_node/
panels_node.module - Implementation of hook_menu().
File
- panels_node/
panels_node.module, line 94 - panels_node.module
Code
function panels_add_panel_access_callback() {
return user_access('create panel content') || user_access('administer panel-nodes');
}