You are here

function flag_heartbeat_message::get_flag_action in Heartbeat 6.4

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

File

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

Class

flag_heartbeat_message
Implements 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;
}