<?php
/**
 * @file
 * commerce_pr.features.field_instance.inc
 */

/**
 * Implements hook_field_default_field_instances().
 */
function commerce_pr_field_default_field_instances() {
  $field_instances = array();

  // Exported field_instance: 'message-commerce_pr_ipn_log-field_commerce_pr_ipn'
  $field_instances['message-commerce_pr_ipn_log-field_commerce_pr_ipn'] = array(
    'bundle' => 'commerce_pr_ipn_log',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 2,
      ),
    ),
    'entity_type' => 'message',
    'field_name' => 'field_commerce_pr_ipn',
    'label' => 'IPN full info',
    'required' => 0,
    'settings' => array(
      'text_processing' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'rows' => 5,
      ),
      'type' => 'text_textarea',
      'weight' => 3,
    ),
  );

  // Exported field_instance: 'message-commerce_pr_ipn_log-field_commerce_pr_ipn_type'
  $field_instances['message-commerce_pr_ipn_log-field_commerce_pr_ipn_type'] = array(
    'bundle' => 'commerce_pr_ipn_log',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 1,
      ),
    ),
    'entity_type' => 'message',
    'field_name' => 'field_commerce_pr_ipn_type',
    'label' => 'IPN type',
    'required' => 0,
    'settings' => array(
      'text_processing' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'size' => 60,
      ),
      'type' => 'text_textfield',
      'weight' => 2,
    ),
  );

  // Exported field_instance: 'message-commerce_pr_ipn_log-field_commerce_pr_order'
  $field_instances['message-commerce_pr_ipn_log-field_commerce_pr_order'] = array(
    'bundle' => 'commerce_pr_ipn_log',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'entityreference',
        'settings' => array(
          'link' => FALSE,
        ),
        'type' => 'entityreference_label',
        'weight' => 0,
      ),
    ),
    'entity_type' => 'message',
    'field_name' => 'field_commerce_pr_order',
    'label' => 'Order',
    'required' => 0,
    'settings' => array(
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'entityreference',
      'settings' => array(
        'match_operator' => 'CONTAINS',
        'path' => '',
        'size' => 60,
      ),
      'type' => 'entityreference_autocomplete',
      'weight' => 1,
    ),
  );

  // Exported field_instance: 'message-commerce_pr_ipn_log-field_commerce_pr_subscr_id'
  $field_instances['message-commerce_pr_ipn_log-field_commerce_pr_subscr_id'] = array(
    'bundle' => 'commerce_pr_ipn_log',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'above',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 3,
      ),
    ),
    'entity_type' => 'message',
    'field_name' => 'field_commerce_pr_subscr_id',
    'label' => 'Subscription ID',
    'required' => 0,
    'settings' => array(
      'text_processing' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'size' => 60,
      ),
      'type' => 'text_textfield',
      'weight' => 4,
    ),
  );

  // Translatables
  // Included for use with string extractors like potx.
  t('IPN full info');
  t('IPN type');
  t('Order');
  t('Subscription ID');

  return $field_instances;
}
