You are here

function course_views_bulk_operations_object_info in Course 6

Implements hook_views_bulk_operations_object_info().

Expose information about the course report object to VBO.

File

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

Code

function course_views_bulk_operations_object_info() {
  return array(
    'course_report' => array(
      'type' => 'course_report',
      'base_table' => 'course_report',
      'load' => 'course_report_load',
      'title' => 'name',
    ),
    'course_enrolment' => array(
      'type' => 'course_enrolment',
      'base_table' => 'course_enrolment',
      'load' => 'course_enrolment_load',
      'title' => 'eid',
    ),
  );
}