function commerce_backoffice_order_entity_info_alter in Commerce Backoffice 7
Implements hook_entity_info_alter().
Adds a new order view mode, used to display the order in a megarow.
File
- ./
commerce_backoffice_order.module, line 75
Code
function commerce_backoffice_order_entity_info_alter(&$entity_info) {
$entity_info['commerce_order']['view modes']['backoffice'] = array(
'label' => t('Backoffice'),
'custom settings' => FALSE,
);
}