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:
parent
d133a5888e
commit
29edd50e4b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue