You are here

function message_plugin_flag_views_data in Message 6

Plugin delegated implementation of hook_views_data().

File

plugins/message/message_plugin_flag.inc, line 42

Code

function message_plugin_flag_views_data() {
  $data = array();
  $data['message_realm']['message_realm_flag'] = array(
    'title' => t('Accessible realms by flag'),
    'help' => t('The realms a user may access based on their flaggings.'),
    // This is a dummy field, so point it to a real field.
    'real field' => 'iid',
    'filter' => array(
      'handler' => 'message_handler_filter_realm_user_access_flag',
    ),
  );
  return $data;
}