36 lines
686 B
PHP
36 lines
686 B
PHP
<?php
|
|
|
|
/**
|
|
* @file
|
|
* Farm Area hooks implemented by the Farm Area Types module.
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_farm_area_type_info().
|
|
*/
|
|
function farm_area_types_farm_area_type_info() {
|
|
return array(
|
|
'building' => array(
|
|
'label' => t('Building'),
|
|
'style' => 'red',
|
|
'weight' => 0,
|
|
),
|
|
'field' => array(
|
|
'label' => t('Field'),
|
|
'style' => 'yellow',
|
|
'weight' => 10,
|
|
'dashboard_metric' => TRUE,
|
|
),
|
|
'landmark' => array(
|
|
'label' => t('Landmark'),
|
|
'style' => 'orange',
|
|
'weight' => 50,
|
|
),
|
|
'property' => array(
|
|
'label' => t('Property'),
|
|
'style' => 'purple',
|
|
'weight' => 100,
|
|
),
|
|
);
|
|
}
|