function uc_invoice_template_list in Ubercart 7.3
Same name and namespace in other branches
- 5 uc_order/uc_order.module \uc_invoice_template_list()
- 6.2 uc_order/uc_order.module \uc_invoice_template_list()
Returns an array of invoice templates found in ubercart/uc_order/templates.
1 call to uc_invoice_template_list()
- uc_order_template_options in uc_order/
uc_order.module - Returns a list of options for a template select box.
File
- uc_order/
uc_order.module, line 1870
Code
function uc_invoice_template_list() {
$templates = drupal_map_assoc(module_invoke_all('uc_invoice_templates'));
// Sort the template names alphabetically.
sort($templates);
return $templates;
}