function course_admin_access in Course 7
Same name and namespace in other branches
- 8.3 course.module \course_admin_access()
- 8.2 course.module \course_admin_access()
- 7.2 course.module \course_admin_access()
- 3.x course.module \course_admin_access()
Can the user access the course administration pages?
1 string reference to 'course_admin_access'
- course_menu in ./
course.module - Implements hook_menu().
File
- ./
course.module, line 3084 - course.module Core functionality for Courses.
Code
function course_admin_access() {
return user_access('administer course') || user_access('access course administration area');
}