Fix asset field weights so that name is always at top.
This commit is contained in:
parent
13f70c6aee
commit
b6722da8fb
|
@ -40,7 +40,7 @@ function farm_crop_field_default_field_instances() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'taxonomy_autocomplete',
|
||||
'weight' => -9,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -74,7 +74,7 @@ function farm_crop_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => -7,
|
||||
'weight' => 3,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -234,7 +234,7 @@ function farm_crop_field_default_field_instances() {
|
|||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => -8,
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ function farm_equipment_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => -6,
|
||||
'weight' => 4,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -162,7 +162,7 @@ function farm_equipment_field_default_field_instances() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => -9,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -196,7 +196,7 @@ function farm_equipment_field_default_field_instances() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => -8,
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -230,7 +230,7 @@ function farm_equipment_field_default_field_instances() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => -7,
|
||||
'weight' => 3,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ function farm_group_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => -9,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ function farm_livestock_field_default_field_instances() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'taxonomy_autocomplete',
|
||||
'weight' => -9,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -259,7 +259,7 @@ function farm_livestock_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => -4,
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -223,7 +223,7 @@ function farm_livestock_field_group_info() {
|
|||
$field_group->parent_name = 'group_farm_general';
|
||||
$field_group->data = array(
|
||||
'label' => 'Individual',
|
||||
'weight' => '-3',
|
||||
'weight' => '3',
|
||||
'children' => array(
|
||||
0 => 'field_farm_animal_castrated',
|
||||
1 => 'field_farm_animal_nicknames',
|
||||
|
|
|
@ -40,7 +40,7 @@ function farm_sensor_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => -9,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ function farm_soil_compost_field_default_field_instances() {
|
|||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => 2,
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue