You are here

function aat_legacy_legacy_field_description in Amazon Product Advertisement API 6

Just returns field description for field_legacy_asin.

1 call to aat_legacy_legacy_field_description()
aat_legacy_import_data in aat_legacy/aat_legacy.module
Create a CCK field for each node type that had Amazon link in D5. Then populate it.

File

aat_legacy/aat_legacy.module, line 97

Code

function aat_legacy_legacy_field_description() {
  return array(
    'label' => 'Legacy ASIN',
    'field_name' => 'field_legacy_asin',
    'type' => 'asin',
    'widget_type' => 'asin_text',
    'change' => 'Change basic information',
    'weight' => '31',
    'description' => '',
    'default_value' => array(
      0 => array(
        'asin' => '',
      ),
    ),
    'default_value_php' => '',
    'default_value_widget' => NULL,
    'required' => 0,
    'multiple' => '1',
    'op' => 'Save field settings',
    'module' => 'asin',
    'widget_module' => 'asin',
    'columns' => array(
      'asin' => array(
        'type' => 'varchar',
        'length' => 32,
        'not null' => false,
      ),
    ),
    'display_settings' => array(
      'label' => array(
        'format' => 'above',
        'exclude' => 0,
      ),
      5 => array(
        'format' => 'default',
        'exclude' => 0,
      ),
      'teaser' => array(
        'format' => 'default',
        'exclude' => 0,
      ),
      'full' => array(
        'format' => 'default',
        'exclude' => 0,
      ),
      4 => array(
        'format' => 'default',
        'exclude' => 0,
      ),
      2 => array(
        'format' => 'default',
        'exclude' => 0,
      ),
      3 => array(
        'format' => 'default',
        'exclude' => 0,
      ),
    ),
  );
}