function commerce_invoice_pdf_entity_info_alter in Commerce Invoice 7.2
Implements hook_entity_info_alter().
File
- modules/
pdf/ commerce_invoice_pdf.module, line 41 - The Commerce Invoice PDF module.
Code
function commerce_invoice_pdf_entity_info_alter(&$entity_info) {
$entity_info['commerce_invoice']['view modes']['pdf'] = array(
'label' => t('PDF'),
'custom settings' => FALSE,
);
}