function flag_heartbeat_message::get_flag_action in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::get_flag_action()
- 7 modules/heartbeat_plugins/plugins/flagattachment.inc \flag_heartbeat_message::get_flag_action()
File
- modules/
flag_heartbeat/ class.flag_heartbeat_message.inc, line 64
Class
- flag_heartbeat_message
- Implements a Heartbeat message flag.
Code
function get_flag_action($content_id) {
$flag_action = parent::get_flag_action($content_id);
$heartbeat_message = $this
->fetch_content($content_id);
$flag_action->content_title = $heartbeat_message->message;
return $flag_action;
}