function commerce_invoice_ui_entity_info_alter in Commerce Invoice 7
Implements hook_entity_info_alter().
File
- ./
commerce_invoice_ui.module, line 164
Code
function commerce_invoice_ui_entity_info_alter(&$entity_info) {
// Expose the order UI for invoice fields.
$entity_info['commerce_invoice']['bundles']['commerce_invoice']['admin'] = array(
'path' => 'admin/commerce/config/invoice',
'real path' => 'admin/commerce/config/invoice',
'access arguments' => array(
'configure invoice settings',
),
);
}