-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdkan_datastore.features.field_instance.inc
68 lines (64 loc) · 1.53 KB
/
dkan_datastore.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
<?php
/**
* @file
* dkan_datastore.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function dkan_datastore_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'node-resource-field_datastore_status'
$field_instances['node-resource-field_datastore_status'] = array(
'bundle' => 'resource',
'default_value' => array(
0 => array(
'value' => 0,
),
),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 7,
),
'search_result' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_datastore_status',
'label' => 'Datastore Status',
'required' => 0,
'settings' => array(
'max' => 3,
'min' => 0,
'prefix' => '',
'suffix' => '',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_hidden',
'settings' => array(),
'type' => 'field_hidden',
'weight' => 31,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Datastore Status');
return $field_instances;
}