You are here

function flag_heartbeat_message::get_flag_action in Heartbeat 7

Same name and namespace in other branches
  1. 6.4 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::get_flag_action()
  2. 6.3 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::get_flag_action()

File

modules/heartbeat_plugins/plugins/flagattachment.inc, line 321

Class

flag_heartbeat_message
Exposes a Heartbeat Message Flag.

Code

function get_flag_action($content_id) {
  $flag_action = parent::get_flag_action($content_id);
  $flag_action->content_title = $this
    ->fetch_content($content_id)->message;
  return $flag_action;
}