function flag_heartbeat_message::options_form in Heartbeat 7
Same name and namespace in other branches
- 6.4 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::options_form()
- 6.3 modules/flag_heartbeat/class.flag_heartbeat_message.inc \flag_heartbeat_message::options_form()
File
- modules/
heartbeat_plugins/ plugins/ flagattachment.inc, line 273
Class
- flag_heartbeat_message
- Exposes a Heartbeat Message Flag.
Code
function options_form(&$form) {
parent::options_form($form);
$form['access']['types'] = array(
// A user flag doesn't support node types.
// TODO: Support heartbeat templates instead of node types.
'#type' => 'value',
'#value' => array(
0 => 0,
),
);
}