You are here

function sms_actions_command_load in SMS Framework 6

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

Load a specific command.

2 calls to sms_actions_command_load()
sms_actions_command_confirm_delete in modules/sms_actions/sms_actions.module
sms_actions_edit_command_form in modules/sms_actions/sms_actions.module

File

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

Code

function sms_actions_command_load($discriminator) {
  $commands = variable_get('sms_actions_commands', array());
  return $commands[$discriminator];
}