-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmotionsplan_exercise_program.features.field_base.inc
71 lines (67 loc) · 1.56 KB
/
motionsplan_exercise_program.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
<?php
/**
* @file
* motionsplan_exercise_program.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function motionsplan_exercise_program_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'body'.
$field_bases['body'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(
0 => 'node',
),
'field_name' => 'body',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(),
'translatable' => 0,
'type' => 'text_with_summary',
);
// Exported field_base: 'field_program_exercises'.
$field_bases['field_program_exercises'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_program_exercises',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'base',
'handler_settings' => array(
'behaviors' => array(
'views-select-list' => array(
'status' => 0,
),
),
'sort' => array(
'type' => 'none',
),
'target_bundles' => array(
'exercise' => 'exercise',
),
),
'handler_submit' => 'Skift handler',
'target_type' => 'node',
),
'translatable' => 0,
'type' => 'entityreference',
);
return $field_bases;
}