You are here

function course_enrollment_type_access in Course 7

Same name and namespace in other branches
  1. 7.2 course.module \course_enrollment_type_access()

Access callback for the entity API.

1 string reference to 'course_enrollment_type_access'
course_entity_info in ./course.module
Implements hook_entity_info().

File

./course.module, line 3077
course.module Core functionality for Courses.

Code

function course_enrollment_type_access($op, $entity = NULL, $account = NULL, $entity_type = NULL) {
  return user_access('administer course enrollment types', $account);
}