function twilio_twiml_options_list in Twilio 7
Generate an options list of all TwiMLs.
1 string reference to 'twilio_twiml_options_list'
- twilio_twiml_rules_action_info in twilio_twiml/
twilio_twiml.rules.inc - Implements hook_rules_action_info().
File
- twilio_twiml/
twilio_twiml.module, line 102 - Twilio TwiML module
Code
function twilio_twiml_options_list() {
$twimls = array();
foreach (array_filter(twilio_twiml_load_multiple()) as $twiml) {
$twimls[$twiml->twiml_id] = $twiml->name;
}
return $twimls;
}