forked from SU-SWS/stanford_image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stanford_image.features.field_base.inc
117 lines (110 loc) · 2.61 KB
/
stanford_image.features.field_base.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php
/**
* @file
* stanford_image.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function stanford_image_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_s_image_caption'.
$field_bases['field_s_image_caption'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_s_image_caption',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(),
'translatable' => 0,
'type' => 'text_long',
);
// Exported field_base: 'field_s_image_credits'.
$field_bases['field_s_image_credits'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_s_image_credits',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(),
'translatable' => 0,
'type' => 'text_long',
);
// Exported field_base: 'field_s_image_image'.
$field_bases['field_s_image_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_s_image_image',
'indexes' => array(
'fid' => array(
0 => 'fid',
),
),
'locked' => 0,
'module' => 'image',
'settings' => array(
'default_image' => 0,
'uri_scheme' => 'public',
),
'translatable' => 0,
'type' => 'image',
);
// Exported field_base: 'field_s_image_info'.
$field_bases['field_s_image_info'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_s_image_info',
'indexes' => array(
'revision_id' => array(
0 => 'revision_id',
),
),
'locked' => 0,
'module' => 'field_collection',
'settings' => array(
'hide_blank_items' => TRUE,
'path' => '',
),
'translatable' => 0,
'type' => 'field_collection',
);
// Exported field_base: 'field_s_image_source_info'.
$field_bases['field_s_image_source_info'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_s_image_source_info',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
),
'translatable' => 0,
'type' => 'text',
);
return $field_bases;
}