You are here

function sms_actions_action_info in SMS Framework 6

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

Implementation of hook_action_info().

File

modules/sms_actions/sms_actions.module, line 107
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',
      'description' => t('Send SMS'),
      'configurable' => TRUE,
      'hooks' => array(
        'sms_actions' => array(
          'sms_actions',
        ),
        'nodeapi' => array(
          'presave',
          'insert',
          'update',
          'delete',
        ),
        'comment' => array(
          'delete',
          'insert',
          'update',
        ),
      ),
    ),
  );
}