-
Notifications
You must be signed in to change notification settings - Fork 6
/
ting_new_materials.features.field_base.inc
107 lines (101 loc) · 2.56 KB
/
ting_new_materials.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
<?php
/**
* @file
* ting_new_materials.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function ting_new_materials_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_ting_new_materials_items'
$field_bases['field_ting_new_materials_items'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_ting_new_materials_items',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'number_integer',
);
// Exported field_base: 'field_ting_new_materials_limit'
$field_bases['field_ting_new_materials_limit'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_ting_new_materials_limit',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'number_integer',
);
// Exported field_base: 'field_ting_new_materials_search'
$field_bases['field_ting_new_materials_search'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_ting_new_materials_search',
'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',
);
// Exported field_base: 'field_ting_new_materials_covers'
$field_bases['field_ting_new_materials_covers'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_ting_new_materials_covers',
'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',
);
return $field_bases;
}