-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathepm_project_management.features.content.inc
72 lines (68 loc) · 1.8 KB
/
epm_project_management.features.content.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
<?php
/**
* Implementation of hook_content_default_fields().
*/
function epm_project_management_content_default_fields() {
$fields = array();
// Exported field: field_epm_project_shortname
$fields['epm_project-field_epm_project_shortname'] = array(
'field_name' => 'field_epm_project_shortname',
'type_name' => 'epm_project',
'display_settings' => array(
'label' => array(
'format' => 'above',
'exclude' => 0,
),
'5' => array(
'format' => 'default',
'exclude' => 0,
),
'teaser' => array(
'format' => 'default',
'exclude' => 0,
),
'full' => array(
'format' => 'default',
'exclude' => 0,
),
'4' => array(
'format' => 'default',
'exclude' => 0,
),
'token' => array(
'format' => 'default',
'exclude' => 0,
),
),
'widget_active' => '1',
'type' => 'text',
'required' => '1',
'multiple' => '0',
'module' => 'text',
'active' => '1',
'text_processing' => '0',
'max_length' => '',
'allowed_values' => '',
'allowed_values_php' => '',
'widget' => array(
'rows' => 5,
'size' => '60',
'default_value' => array(
'0' => array(
'value' => '',
'_error_element' => 'default_value_widget][field_epm_project_shortname][0][value',
),
),
'default_value_php' => NULL,
'label' => 'Short name',
'weight' => '-4',
'description' => 'The "short name" of a project is what shows up in the urls on drupal.org. For http://drupal.org/project/views enter "views."',
'type' => 'text_textfield',
'module' => 'text',
),
);
// Translatables
// Included for use with string extractors like potx.
t('Short name');
return $fields;
}