forked from kalamuna/hot_primary_tout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hot_primary_tout.features.field_instance.inc
103 lines (98 loc) · 2.79 KB
/
hot_primary_tout.features.field_instance.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* @file
* hot_primary_tout.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function hot_primary_tout_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_caption'
$field_instances['fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_caption'] = array(
'bundle' => 'hot_primary_tout_third',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 1,
),
),
'entity_type' => 'fieldable_panels_pane',
'field_name' => 'field_hot_primary_tout_caption',
'label' => 'Caption',
'required' => 0,
'settings' => array(
'linkit' => array(
'enable' => 0,
'insert_plugin' => '',
),
'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: 'fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_image'
$field_instances['fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_image'] = array(
'bundle' => 'hot_primary_tout_third',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'picture',
'settings' => array(
'colorbox' => 'hot_primary_tout_3',
'fallback_image_style' => 'hot_primary_tout_3',
'image_link' => '',
'picture_group' => 'hot_primary_tout_3',
),
'type' => 'picture',
'weight' => 0,
),
),
'entity_type' => 'fieldable_panels_pane',
'field_name' => 'field_hot_primary_tout_image',
'label' => '1/3 Image',
'required' => 0,
'settings' => array(
'alt_field' => 1,
'default_image' => 0,
'file_directory' => '',
'file_extensions' => 'png gif jpg jpeg',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'image',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => -4,
),
);
// Translatables
// Included for use with string extractors like potx.
t('1/3 Image');
t('Caption');
return $field_instances;
}