You are here

function flag_heartbeat_message::get_views_info in Heartbeat 6.4

Same name and namespace in other branches
  1. 7 modules/heartbeat_plugins/plugins/flagattachment.inc \flag_heartbeat_message::get_views_info()

File

modules/flag_heartbeat/class.flag_heartbeat_message.inc, line 92
Class file for a heartbeat message flag

Class

flag_heartbeat_message
Implements a Heartbeat message flag.

Code

function get_views_info() {
  return array(
    'views table' => 'heartbeat_activity',
    'join field' => 'message_id',
    'title field' => 'message',
    'title' => t('Activity flag'),
    'help' => t('Limit results to only those messages flagged by a certain flag; Or display information about the flag set on an activity message.'),
    'counter title' => t('Activity flag counter'),
    'counter help' => t('Include this to gain access to the flag counter field.'),
  );
}