You are here

function commerce_price_table_field_info in Commerce Price Table 7

Implements hook_field_info().

File

./commerce_price_table.module, line 13

Code

function commerce_price_table_field_info() {
  return array(
    'commerce_price_table' => array(
      'label' => t('Price table'),
      'description' => t('This field stores multiple prices for products based on the quantity selected.'),
      'settings' => array(),
      'instance_settings' => array(),
      'default_widget' => 'commerce_price_table_multiple',
      'default_formatter' => 'commerce_multiprice_default',
      'property_type' => 'commerce_price_table',
      'property_callbacks' => array(
        'commerce_price_table_property_info_callback',
      ),
    ),
  );
}