function commerce_billy_pdf_enable in Commerce Billy 7
Implements hook_enable().
File
- modules/
commerce_billy_pdf/ commerce_billy_pdf.install, line 11 - Commerce Billy PDF installation file.
Code
function commerce_billy_pdf_enable() {
// Init some defaults.
$settings = array(
'invoice_header' => 'My company<br/>Street 123, State<br/>United States',
'invoice_location' => 'Location',
'invoice_text' => '',
'invoice_footer' => 'My company, Street 123, State, United States',
);
variable_set('commerce_billy_pdf_text_settings', $settings);
}