You are here

function uc_addresses_test_entity_presave in Ubercart Addresses 7

Implements hook_entity_presave().

File

tests/uc_addresses_test.module, line 61
Testing module for Ubercart Addresses functionality.

Code

function uc_addresses_test_entity_presave($entity, $entity_type) {
  if ($entity_type == 'uc_addresses') {
    uc_addresses_test_hook_invoked('entity_presave', $entity);
  }
}