3 * @file Hosting task views integration.
7 * Implementation of hook_views_handlers() to register all of the basic handlers
10 function hosting_task_views_handlers() {
13 'path' => drupal_get_path('module', 'hosting_task'),
16 'hosting_task_handler_filter_hosting_task_type' => array(
17 'parent' => 'views_handler_filter_in_operator',
24 * Implements hook_views_data().
26 function hosting_task_views_data() {
27 $data['hosting_task'] = array(
29 'group' => 'Hosting Task',
33 'left_field' => 'vid',
42 'handler' => 'views_handler_field',
43 'click sortable' => TRUE
,
46 'handler' => 'hosting_task_handler_filter_hosting_task_type',
50 'title' => t('Reference'),
52 'relationship' => array(
53 'handler' => 'views_handler_relationship',
56 'label' => t('Reference'),
59 'task_status' => array(
60 'title' => t('Status'),
61 'help' => t('Current status of the task.'),
63 'handler' => 'views_handler_field',
64 'click sortable' => TRUE
,
68 'title' => t('Executed'),
69 'help' => t('Date this task was executed.'),
71 'handler' => 'views_handler_field_date',
72 'click sortable' => TRUE
,