function nodeorder_taxonomy_order_access in Node Order 7
Same name and namespace in other branches
- 6 nodeorder.module \nodeorder_taxonomy_order_access()
Custom access function which determines whether or not the user is allowed to reorder nodes and if the vocabulary is orderable.
File
- ./
nodeorder.module, line 392 - Nodeorder module.
Code
function nodeorder_taxonomy_order_access($vid) {
return user_access('order nodes within categories') && variable_get('nodeorder_link_to_ordering_page_taxonomy_admin', 1) && nodeorder_vocabulary_can_be_ordered($vid);
}