Fix log field weights so that name and timestamp are on top (again).

This commit is contained in:
Michael Stenta 2018-03-27 15:48:18 -04:00
parent cf087c6ff9
commit 53701c873e
20 changed files with 68 additions and 68 deletions

View File

@ -306,7 +306,7 @@ function farm_crop_field_default_field_instances() {
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => -4,
'weight' => 1,
),
);
@ -373,7 +373,7 @@ function farm_crop_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -1,
'weight' => 4,
),
);
@ -588,7 +588,7 @@ function farm_crop_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -2,
'weight' => 3,
),
);
@ -655,7 +655,7 @@ function farm_crop_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -3,
'weight' => 2,
),
);
@ -696,7 +696,7 @@ function farm_crop_field_default_field_instances() {
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => -4,
'weight' => 1,
),
);
@ -763,7 +763,7 @@ function farm_crop_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -2,
'weight' => 2,
),
);
@ -978,7 +978,7 @@ function farm_crop_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -3,
'weight' => 1,
),
);

View File

@ -21,7 +21,7 @@ function farm_crop_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '1',
'weight' => '6',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -50,7 +50,7 @@ function farm_crop_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '0',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -79,7 +79,7 @@ function farm_crop_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '0',
'weight' => '5',
'children' => array(
0 => 'field_farm_log_category',
),
@ -108,7 +108,7 @@ function farm_crop_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-1',
'weight' => '3',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -370,7 +370,7 @@ function farm_equipment_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -7,
'weight' => 2,
),
);
@ -586,7 +586,7 @@ function farm_equipment_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -8,
'weight' => 1,
),
);

View File

@ -51,7 +51,7 @@ function farm_equipment_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -80,7 +80,7 @@ function farm_equipment_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-6',
'weight' => '3',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -661,7 +661,7 @@ function farm_livestock_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => 8,
'weight' => 2,
),
);
@ -1019,7 +1019,7 @@ function farm_livestock_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 7,
'weight' => 1,
),
);
@ -1060,7 +1060,7 @@ function farm_livestock_field_default_field_instances() {
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => -8,
'weight' => 1,
),
);
@ -1128,7 +1128,7 @@ function farm_livestock_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -6,
'weight' => 3,
),
);
@ -1344,7 +1344,7 @@ function farm_livestock_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -7,
'weight' => 2,
),
);

View File

@ -21,7 +21,7 @@ function farm_livestock_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '10',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -50,7 +50,7 @@ function farm_livestock_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-4',
'weight' => '5',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -79,7 +79,7 @@ function farm_livestock_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '9',
'weight' => '3',
'children' => array(
0 => 'field_farm_log_category',
),
@ -108,7 +108,7 @@ function farm_livestock_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -147,7 +147,7 @@ function farm_log_activity_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -7,
'weight' => 2,
),
);
@ -461,7 +461,7 @@ function farm_log_activity_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -8,
'weight' => 1,
),
);

View File

@ -81,7 +81,7 @@ function farm_log_activity_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -110,7 +110,7 @@ function farm_log_activity_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-6',
'weight' => '3',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -158,7 +158,7 @@ function farm_log_harvest_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -6,
'weight' => 3,
),
);
@ -413,7 +413,7 @@ function farm_log_harvest_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -8,
'weight' => 1,
),
);
@ -486,7 +486,7 @@ function farm_log_harvest_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -7,
'weight' => 2,
),
);

View File

@ -77,7 +77,7 @@ function farm_log_harvest_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-4',
'weight' => '5',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -106,7 +106,7 @@ function farm_log_harvest_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -139,7 +139,7 @@ function farm_log_input_field_default_field_instances() {
'year_range' => '-10:+3',
),
'type' => 'date_select',
'weight' => -3,
'weight' => 6,
),
);
@ -213,7 +213,7 @@ function farm_log_input_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -1,
'weight' => 8,
),
);
@ -376,7 +376,7 @@ function farm_log_input_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -6,
'weight' => 3,
),
);
@ -416,7 +416,7 @@ function farm_log_input_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -7,
'weight' => 2,
),
);
@ -456,7 +456,7 @@ function farm_log_input_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -5,
'weight' => 4,
),
);
@ -588,7 +588,7 @@ function farm_log_input_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -4,
'weight' => 5,
),
);
@ -628,7 +628,7 @@ function farm_log_input_field_default_field_instances() {
'size' => 60,
),
'type' => 'taxonomy_autocomplete',
'weight' => -8,
'weight' => 1,
),
);
@ -701,7 +701,7 @@ function farm_log_input_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -2,
'weight' => 7,
),
);

View File

@ -77,7 +77,7 @@ function farm_log_input_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '1',
'weight' => '10',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -106,7 +106,7 @@ function farm_log_input_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '0',
'weight' => '9',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -147,7 +147,7 @@ function farm_log_observation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -7,
'weight' => 2,
),
);
@ -456,7 +456,7 @@ function farm_log_observation_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -8,
'weight' => 1,
),
);

View File

@ -81,7 +81,7 @@ function farm_log_observation_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -110,7 +110,7 @@ function farm_log_observation_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-6',
'weight' => '3',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -81,7 +81,7 @@ function farm_log_sale_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -4,
'weight' => 1,
),
);
@ -148,7 +148,7 @@ function farm_log_sale_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => 4,
'weight' => 9,
),
);
@ -265,7 +265,7 @@ function farm_log_sale_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -3,
'weight' => 2,
),
);
@ -364,7 +364,7 @@ function farm_log_sale_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -2,
'weight' => 3,
),
);
@ -398,7 +398,7 @@ function farm_log_sale_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 3,
'weight' => 8,
),
);
@ -432,7 +432,7 @@ function farm_log_sale_field_default_field_instances() {
'size' => 60,
),
'type' => 'taxonomy_autocomplete',
'weight' => 0,
'weight' => 5,
),
);
@ -474,7 +474,7 @@ function farm_log_sale_field_default_field_instances() {
'precision' => 0,
),
'type' => 'fraction_decimal',
'weight' => -1,
'weight' => 4,
),
);
@ -516,7 +516,7 @@ function farm_log_sale_field_default_field_instances() {
'precision' => 0,
),
'type' => 'fraction_decimal',
'weight' => 2,
'weight' => 7,
),
);
@ -558,7 +558,7 @@ function farm_log_sale_field_default_field_instances() {
'precision' => 0,
),
'type' => 'fraction_decimal',
'weight' => 1,
'weight' => 6,
),
);

View File

@ -47,7 +47,7 @@ function farm_log_sale_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '6',
'weight' => '11',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -104,7 +104,7 @@ function farm_log_sale_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '5',
'weight' => '10',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -105,7 +105,7 @@ function farm_soil_test_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -6,
'weight' => 3,
),
);
@ -320,7 +320,7 @@ function farm_soil_test_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -7,
'weight' => 2,
),
);
@ -354,7 +354,7 @@ function farm_soil_test_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -8,
'weight' => 1,
),
);

View File

@ -21,7 +21,7 @@ function farm_soil_test_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-4',
'weight' => '5',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -50,7 +50,7 @@ function farm_soil_test_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_category',
),

View File

@ -104,7 +104,7 @@ function farm_water_test_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -6,
'weight' => 3,
),
);
@ -318,7 +318,7 @@ function farm_water_test_field_default_field_instances() {
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -7,
'weight' => 2,
),
);
@ -352,7 +352,7 @@ function farm_water_test_field_default_field_instances() {
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -8,
'weight' => 1,
),
);

View File

@ -21,7 +21,7 @@ function farm_water_test_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Assignment',
'weight' => '-4',
'weight' => '5',
'children' => array(
0 => 'field_farm_log_owner',
),
@ -50,7 +50,7 @@ function farm_water_test_field_group_info() {
$field_group->parent_name = 'group_farm_general';
$field_group->data = array(
'label' => 'Category',
'weight' => '-5',
'weight' => '4',
'children' => array(
0 => 'field_farm_log_category',
),