Use farm_map_geofield formatter in all geofield displays.

This commit is contained in:
Michael Stenta 2019-12-04 10:58:59 -05:00
parent bfe8f9114e
commit 42ef0068a4
20 changed files with 40 additions and 60 deletions

View File

@ -118,12 +118,9 @@ function farm_area_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 0,
),
),

View File

@ -7,6 +7,7 @@ dependencies[] = ctools
dependencies[] = farm_fields
dependencies[] = farm_flags
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_quantity
dependencies[] = farm_term

View File

@ -417,12 +417,9 @@ function farm_equipment_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 10,
),
),

View File

@ -16,6 +16,7 @@ dependencies[] = farm_flags
dependencies[] = farm_group
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = features

View File

@ -674,12 +674,9 @@ function farm_livestock_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 12,
),
),

View File

@ -17,6 +17,7 @@ dependencies[] = farm_flags
dependencies[] = farm_group
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = farm_quantity_log

View File

@ -160,12 +160,9 @@ function farm_log_activity_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 12,
),
),

View File

@ -18,6 +18,7 @@ dependencies[] = farm_flags
dependencies[] = farm_group
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = farm_quantity

View File

@ -171,12 +171,9 @@ function farm_log_harvest_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 12,
),
'token' => array(

View File

@ -17,6 +17,7 @@ dependencies[] = farm_fields
dependencies[] = farm_flags
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = farm_quantity

View File

@ -226,12 +226,9 @@ function farm_log_input_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 17,
),
'token' => array(

View File

@ -17,6 +17,7 @@ dependencies[] = farm_fields
dependencies[] = farm_flags
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = farm_quantity

View File

@ -160,12 +160,9 @@ function farm_log_observation_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 12,
),
),

View File

@ -18,6 +18,7 @@ dependencies[] = farm_flags
dependencies[] = farm_group
dependencies[] = farm_inventory
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_movement
dependencies[] = farm_quantity

View File

@ -20,12 +20,9 @@ function farm_movement_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 2,
),
),

View File

@ -14,6 +14,7 @@ dependencies[] = farm_asset
dependencies[] = farm_fields
dependencies[] = farm_log
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = features
dependencies[] = field_collection

View File

@ -118,12 +118,9 @@ function farm_soil_test_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 1,
),
),

View File

@ -11,6 +11,7 @@ dependencies[] = farm_area
dependencies[] = farm_fields
dependencies[] = farm_flags
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_soil
dependencies[] = features

View File

@ -117,12 +117,9 @@ function farm_water_test_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'openlayers_geofield',
'settings' => array(
'data' => 'full',
'map_layer_preset' => 'farm_map_geofield_formatter:openlayers_geofield_layer_formatter',
),
'type' => 'openlayers_geofield',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 1,
),
),

View File

@ -10,6 +10,7 @@ dependencies[] = farm_area
dependencies[] = farm_fields
dependencies[] = farm_flags
dependencies[] = farm_map
dependencies[] = farm_map_geofield
dependencies[] = farm_map_kml
dependencies[] = farm_water
dependencies[] = features