Fix default field weights in assets so that "Name" appears on top (again).

This commit is contained in:
Michael Stenta 2018-04-16 13:48:58 -04:00
parent e1adae3dda
commit 1f78378885
6 changed files with 18 additions and 18 deletions

View File

@ -40,7 +40,7 @@ function farm_crop_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'taxonomy_autocomplete', 'type' => 'taxonomy_autocomplete',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -74,7 +74,7 @@ function farm_crop_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -7, 'weight' => 3,
), ),
); );
@ -141,7 +141,7 @@ function farm_crop_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -6, 'weight' => 4,
), ),
); );
@ -265,7 +265,7 @@ function farm_crop_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_select', 'type' => 'options_select',
'weight' => -8, 'weight' => 2,
), ),
); );

View File

@ -40,7 +40,7 @@ function farm_equipment_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -6, 'weight' => 4,
), ),
); );
@ -108,7 +108,7 @@ function farm_equipment_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -5, 'weight' => 5,
), ),
); );
@ -193,7 +193,7 @@ function farm_equipment_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -227,7 +227,7 @@ function farm_equipment_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => -8, 'weight' => 2,
), ),
); );
@ -261,7 +261,7 @@ function farm_equipment_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => -7, 'weight' => 3,
), ),
); );

View File

@ -40,7 +40,7 @@ function farm_group_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -107,7 +107,7 @@ function farm_group_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -8, 'weight' => 2,
), ),
); );

View File

@ -175,7 +175,7 @@ function farm_livestock_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'taxonomy_autocomplete', 'type' => 'taxonomy_autocomplete',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -259,7 +259,7 @@ function farm_livestock_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -8, 'weight' => 2,
), ),
); );
@ -327,7 +327,7 @@ function farm_livestock_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -7, 'weight' => 3,
), ),
); );

View File

@ -40,7 +40,7 @@ function farm_sensor_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -107,7 +107,7 @@ function farm_sensor_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -8, 'weight' => 2,
), ),
); );

View File

@ -40,7 +40,7 @@ function farm_soil_compost_field_default_field_instances() {
'rows' => 5, 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => -9, 'weight' => 1,
), ),
); );
@ -107,7 +107,7 @@ function farm_soil_compost_field_default_field_instances() {
'module' => 'options', 'module' => 'options',
'settings' => array(), 'settings' => array(),
'type' => 'options_buttons', 'type' => 'options_buttons',
'weight' => -8, 'weight' => 2,
), ),
); );