You are here

function flag_heartbeat_message::rules_get_event_arguments_definition in Heartbeat 7

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

File

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

Class

flag_heartbeat_message
Exposes a Heartbeat Message Flag.

Code

function rules_get_event_arguments_definition() {
  return array(
    'heartbeat_activity' => array(
      'type' => 'heartbeat_activity',
      'label' => t('flagged heartbeat message'),
      'handler' => 'flag_rules_get_event_argument',
    ),
  );
}