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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * @file
 * Helper module for the customer profile tests.
 */

/**
 * Implements hook_commerce_customer_profile_type_info().
 */
function commerce_customer_profile_dummy_type_commerce_customer_profile_type_info() {
  $profile_types = array();

  $profile_types['dummy'] = array(
    'type' => 'dummy',
    'name' => t('Dummy profile type'),
    'description' => t('Dummy profile type used for testing purposes.'),
    'help' => '',
  );

  return $profile_types;
}