You are here

function sms_actions_action_info in SMS Framework 7

Same name and namespace in other branches
  1. 6.2 modules/sms_actions/sms_actions.module \sms_actions_action_info()
  2. 6 modules/sms_actions/sms_actions.module \sms_actions_action_info()

Implementation of hook_action_info().

File

modules/sms_actions/sms_actions.module, line 126
Provides a "Send SMS" action and the ability to define custom triggers for incoming messages.

Code

function sms_actions_action_info() {
  return array(
    'sms_actions_send_action' => array(
      'type' => 'sms',
      'label' => t('Send SMS'),
      'configurable' => TRUE,
      'triggers' => array(
        'sms_actions',
        'node_presave',
        'comment_insert',
        'comment_update',
        'comment_delete',
      ),
    ),
  );
}