function commerce_invoice_pdf_download_invoices_form in Commerce Invoice 7.2
Configuration form shown to the user before the action gets executed.
File
- modules/
pdf/ commerce_invoice_pdf.module, line 369 - The Commerce Invoice PDF module.
Code
function commerce_invoice_pdf_download_invoices_form($context) {
$form['filename'] = array(
'#type' => 'textfield',
'#title' => t('Filename'),
'#default_value' => 'invoices-archive--' . format_date(time(), 'custom', 'Y-m'),
'#field_suffix' => '.zip',
'#description' => t('The name of the archive file.'),
);
return $form;
}