function flag_heartbeat_message::_load_content in Heartbeat 7
Same name and namespace in other branches
- 6.4 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::_load_content()
- 6.3 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::_load_content()
File
- modules/
heartbeat_plugins/ plugins/ flagattachment.inc, line 283
Class
- flag_heartbeat_message
- Exposes a Heartbeat Message Flag.
Code
function _load_content($content_id) {
$heartbeatActivity = HeartbeatMessagePool::getInstance()
->getMessage($content_id);
return is_numeric($content_id) ? $heartbeatActivity : NULL;
}