3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Add styles to area types.

This commit is contained in:
Michael Stenta 2015-07-28 18:17:15 -04:00
parent d133a5888e
commit 29edd50e4b
3 changed files with 4 additions and 0 deletions

View file

@ -29,6 +29,7 @@ This module depends on the following modules:
* Farm Asset (http://drupal.org/project/farm_asset)
* Farm Fields (http://drupal.org/project/farm_fields)
* Farm Log (http://drupal.org/project/farm_log)
* Farm Map (http://drupal.org/project/farm_map)
* Farm Taxonomy (http://drupal.org/project/farm_taxonomy)
INSTALLATION

View file

@ -12,6 +12,7 @@ dependencies[] = farm_area
dependencies[] = farm_asset
dependencies[] = farm_fields
dependencies[] = farm_log
dependencies[] = farm_map
dependencies[] = farm_taxonomy
dependencies[] = features
dependencies[] = field_collection

View file

@ -13,10 +13,12 @@ function farm_crop_farm_area_type_info() {
return array(
'greenhouse' => array(
'label' => t('Greenhouse'),
'style' => 'farm_map_style_green',
'weight' => 15,
),
'rowbed' => array(
'label' => t('Row/bed'),
'style' => 'farm_map_style_red',
'weight' => 25,
),
);