You are here

function farm_area_types_farm_area_type_info in farmOS 7

Implements hook_farm_area_type_info().

File

modules/farm/farm_area/farm_area_types/farm_area_types.farm_area.inc, line 11
Farm Area hooks implemented by the Farm Area Types module.

Code

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,
    ),
  );
}