1
|
<?php
|
2
|
/**
|
3
|
* @file
|
4
|
* feeds_news.features.field.inc
|
5
|
*/
|
6
|
|
7
|
/**
|
8
|
* Implementation of hook_field_default_fields().
|
9
|
*/
|
10
|
function feeds_news_field_default_fields() {
|
11
|
$fields = array();
|
12
|
|
13
|
// Exported field: 'node-feed_item-field_feed_item_description'
|
14
|
$fields['node-feed_item-field_feed_item_description'] = array(
|
15
|
'field_config' => array(
|
16
|
'active' => '1',
|
17
|
'cardinality' => '1',
|
18
|
'deleted' => '0',
|
19
|
'entity_types' => array(),
|
20
|
'field_name' => 'field_feed_item_description',
|
21
|
'foreign keys' => array(
|
22
|
'format' => array(
|
23
|
'columns' => array(
|
24
|
'format' => 'format',
|
25
|
),
|
26
|
'table' => 'filter_format',
|
27
|
),
|
28
|
),
|
29
|
'indexes' => array(
|
30
|
'format' => array(
|
31
|
0 => 'format',
|
32
|
),
|
33
|
),
|
34
|
'module' => 'text',
|
35
|
'settings' => array(),
|
36
|
'translatable' => '1',
|
37
|
'type' => 'text_with_summary',
|
38
|
),
|
39
|
'field_instance' => array(
|
40
|
'bundle' => 'feed_item',
|
41
|
'default_value' => NULL,
|
42
|
'deleted' => '0',
|
43
|
'description' => '',
|
44
|
'display' => array(
|
45
|
'default' => array(
|
46
|
'label' => 'hidden',
|
47
|
'module' => 'text',
|
48
|
'settings' => array(),
|
49
|
'type' => 'text_default',
|
50
|
'weight' => '0',
|
51
|
),
|
52
|
'full' => array(
|
53
|
'label' => 'above',
|
54
|
'settings' => array(),
|
55
|
'type' => 'hidden',
|
56
|
'weight' => 0,
|
57
|
),
|
58
|
'rss' => array(
|
59
|
'label' => 'above',
|
60
|
'settings' => array(),
|
61
|
'type' => 'hidden',
|
62
|
'weight' => 0,
|
63
|
),
|
64
|
'teaser' => array(
|
65
|
'label' => 'hidden',
|
66
|
'module' => 'text',
|
67
|
'settings' => array(
|
68
|
'trim_length' => 600,
|
69
|
),
|
70
|
'type' => 'text_trimmed',
|
71
|
'weight' => '0',
|
72
|
),
|
73
|
),
|
74
|
'entity_type' => 'node',
|
75
|
'field_name' => 'field_feed_item_description',
|
76
|
'label' => 'Description',
|
77
|
'required' => 0,
|
78
|
'settings' => array(
|
79
|
'display_summary' => 0,
|
80
|
'text_processing' => '1',
|
81
|
'user_register_form' => FALSE,
|
82
|
),
|
83
|
'widget' => array(
|
84
|
'active' => 1,
|
85
|
'module' => 'text',
|
86
|
'settings' => array(
|
87
|
'rows' => '20',
|
88
|
'summary_rows' => 5,
|
89
|
),
|
90
|
'type' => 'text_textarea_with_summary',
|
91
|
'weight' => '-4',
|
92
|
),
|
93
|
),
|
94
|
);
|
95
|
|
96
|
// Translatables
|
97
|
// Included for use with string extractors like potx.
|
98
|
t('Description');
|
99
|
|
100
|
return $fields;
|
101
|
}
|