function _course_reports_access in Course 7
Same name and namespace in other branches
- 8.3 course.module \_course_reports_access()
- 8.2 course.module \_course_reports_access()
- 7.2 course.module \_course_reports_access()
- 3.x course.module \_course_reports_access()
Access callback for course objects menu tab.
1 string reference to '_course_reports_access'
- course_menu in ./
course.module - Implements hook_menu().
File
- ./
course.module, line 3000 - course.module Core functionality for Courses.
Code
function _course_reports_access($node) {
return node_access('update', $node) || user_access('access all course reports');
}