You are here

function commerce_payment_ui_entity_info_alter in Commerce Core 7

Implements hook_entity_info_alter().

File

modules/payment/commerce_payment_ui.module, line 127
Default Payment UI for Drupal Commerce.

Code

function commerce_payment_ui_entity_info_alter(&$entity_info) {

  // Add a URI callback to the profile entity.
  $entity_info['commerce_payment_transaction']['uri callback'] = 'commerce_payment_ui_payment_transaction_uri';
}