You are here

function invite_views_data_alter in Invite 7.4

Implements hook_views_data_alter().

  • Allow views filter selection based on status text.

File

./invite.module, line 758

Code

function invite_views_data_alter(&$data) {
  $data['invite']['status']['field']['handler'] = 'views_handler_field_invite_status';
  $data['invite']['status']['filter']['handler'] = 'views_handler_filter_in_operator';
  $data['invite']['status']['filter']['options callback'] = 'invite_get_status_options';
}