function opigno_class_app_views_data in Opigno Class App 7
Implements hook_views_data().
File
- ./
opigno_class_app.module, line 435 - Module hooks.
Code
function opigno_class_app_views_data() {
$data['node']['filter_courses_from_classes'] = array(
'title' => t('Hide courses from classes'),
'help' => t('This filter will remove the courses from the view if the class is already showing up'),
'filter' => array(
'handler' => 'opigno_class_app_filter_courses_from_classes',
),
);
return $data;
}