function nodeorder_order_access in Node Order 6
Same name and namespace in other branches
- 7 nodeorder.module \nodeorder_order_access()
Custom access function which determines whether or not the user is allowed to reorder nodes and if the link should be shown at all
1 string reference to 'nodeorder_order_access'
- nodeorder_menu in ./
nodeorder.module - Implementation of hook_menu().
File
- ./
nodeorder.module, line 311 - Nodeorder module.
Code
function nodeorder_order_access($tid) {
return user_access('order nodes within categories') && variable_get('nodeorder_link_to_ordering_page', 1) && nodeorder_term_can_be_ordered($tid);
}