View source
<?php
function instagram_feeds_field_default_field_bases() {
$field_bases = array();
$field_bases['field_instf_blacklist_type'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_blacklist_type',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'normal' => 'normal',
'black' => 'blacklist',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_text',
);
$field_bases['field_instf_border_width'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_border_width',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
0 => 0,
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
12 => 12,
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
18 => 18,
19 => 19,
20 => 20,
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_color'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_color',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'rgb' => array(
0 => 'rgb',
),
),
'locked' => 0,
'module' => 'color_field',
'settings' => array(
'palette' => '',
'profile2_private' => FALSE,
'show_buttons' => 0,
'show_input' => 1,
'show_palette' => 0,
'show_palette_only' => 0,
),
'translatable' => 0,
'type' => 'color_field_rgb',
);
$field_bases['field_instf_columns'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_columns',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_comments_count'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_comments_count',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'number_integer',
);
$field_bases['field_instf_created'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_created',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'date',
'settings' => array(
'cache_count' => 4,
'cache_enabled' => 0,
'granularity' => array(
'day' => 'day',
'hour' => 'hour',
'minute' => 'minute',
'month' => 'month',
'second' => 0,
'year' => 'year',
),
'profile2_private' => FALSE,
'repeat' => 0,
'timezone_db' => 'UTC',
'todate' => '',
'tz_handling' => 'site',
),
'translatable' => 0,
'type' => 'datestamp',
);
$field_bases['field_instf_display_on_popup'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_display_on_popup',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'field_instf_user' => 'Author',
'body' => 'Title',
'field_instf_like_count' => '# of likes',
'field_instf_comments_count' => '# of comments',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_text',
);
$field_bases['field_instf_favorites'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_favorites',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
0 => 'All Images',
1 => 'Favorites First',
2 => 'Favorites Only',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_font_color'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_font_color',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'rgb' => array(
0 => 'rgb',
),
),
'locked' => 0,
'module' => 'color_field',
'settings' => array(
'palette' => '',
'profile2_private' => FALSE,
'show_buttons' => 0,
'show_input' => 1,
'show_palette' => 0,
'show_palette_only' => 0,
),
'translatable' => 0,
'type' => 'color_field_rgb',
);
$field_bases['field_instf_font_family'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_font_family',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
'inherit' => 'Inherit theme fonts',
'sans-serif' => 'Arial, Helvetica, sans-serif',
'georgia' => 'Georgia, serif',
'tahoma' => 'Tahoma, Geneva, sans-serif',
'serif' => 'Times New Roman, Times, serif',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_text',
);
$field_bases['field_instf_font_size'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_font_size',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
10 => 10,
12 => 12,
13 => 13,
14 => 14,
16 => 16,
18 => 18,
20 => 20,
24 => 24,
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_hash_tags'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_hash_tags',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(
'tid' => array(
'columns' => array(
'tid' => 'tid',
),
'table' => 'taxonomy_term_data',
),
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'instagram_hashtags',
'parent' => 0,
),
),
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
$field_bases['field_instf_id'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_id',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'text',
);
$field_bases['field_instf_image_url'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_image_url',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => 0,
'type' => 'link_field',
);
$field_bases['field_instf_like_count'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_like_count',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'number_integer',
);
$field_bases['field_instf_link_url'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_link_url',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'profile2_private' => FALSE,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => 0,
'type' => 'link_field',
);
$field_bases['field_instf_marker'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_marker',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
0 => '',
1 => '',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_boolean',
);
$field_bases['field_instf_rows'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_rows',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_thumb_size'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_thumb_size',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
50 => '50x50 (small)',
100 => '100x100 (medium)',
150 => '150x150 (large)',
),
'allowed_values_function' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_instf_thumb_url'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_thumb_url',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'link',
'settings' => array(
'attributes' => array(
'class' => '',
'rel' => '',
'target' => 'default',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'title' => 'optional',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
),
'translatable' => 0,
'type' => 'link_field',
);
$field_bases['field_instf_uid'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_uid',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'text',
);
$field_bases['field_instf_user'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_instf_user',
'field_permissions' => array(
'type' => 0,
),
'foreign keys' => array(
'tid' => array(
'columns' => array(
'tid' => 'tid',
),
'table' => 'taxonomy_term_data',
),
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'instagram_users',
'parent' => 0,
),
),
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
return $field_bases;
}