You are here

function farm_area_menu in farmOS 7

Implements hook_menu().

File

modules/farm/farm_area/farm_area.module, line 49

Code

function farm_area_menu() {
  $items['farm/area/%/details'] = array(
    'page callback' => 'farm_area_details_json',
    'page arguments' => array(
      2,
    ),
    'access arguments' => array(
      'view farm areas',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}