commerce_customer_profile_dummy_type.module

Tracking 7.x-1.x branch
  1. drupal
    1. 7 contributions/commerce/modules/customer/tests/commerce_customer_profile_dummy_type.module

Helper module for the customer profile tests.

Functions & methods

NameDescription
commerce_customer_profile_dummy_type_commerce_customer_profile_type_infoImplements hook_commerce_customer_profile_type_info().

File

View source
  1. <?php
  2. /**
  3. * @file
  4. * Helper module for the customer profile tests.
  5. */
  6. /**
  7. * Implements hook_commerce_customer_profile_type_info().
  8. */
  9. function commerce_customer_profile_dummy_type_commerce_customer_profile_type_info() {
  10. $profile_types = array();
  11. $profile_types['dummy'] = array(
  12. 'type' => 'dummy',
  13. 'name' => t('Dummy profile type'),
  14. 'description' => t('Dummy profile type used for testing purposes.'),
  15. 'help' => '',
  16. );
  17. return $profile_types;
  18. }