You are here

function hook_gateway_info in SMS Framework 7

Defines information for an SMS Gateway.

Return value

array

3 functions implement hook_gateway_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

sms_devel_gateway_info in modules/sms_devel/sms_devel.module
Implements hook_gateway_info().
sms_gateway_info in ./sms.module
Implements hook_gateway_info().
sms_test_gateway_gateway_info in tests/sms_test_gateway/sms_test_gateway.module
Implements hook_gateway_info().
1 invocation of hook_gateway_info()
_gateways_build in ./sms.module
Helper function to get gateway definitions in hook_gateway_info.

File

./sms.api.php, line 13
SMS Framework hooks.

Code

function hook_gateway_info() {
  return array(
    'my_gateway' => array(
      'name' => t('My Gateway'),
      'send' => 'my_gateway_send',
      'receive' => TRUE,
      'configure form' => 'my_gateway_admin_form',
      'send form' => 'my_gateway_send_form',
    ),
  );
}