function farm_area_get_details in farmOS 7
Generate area details.
Parameters
int $id: The area id.
Return value
string Returns a string of links.
1 call to farm_area_get_details()
- farm_area_details_json in modules/
farm/ farm_area/ farm_area.module - Menu callback that returns rendered area details as JSON.
File
- modules/
farm/ farm_area/ farm_area.module, line 210
Code
function farm_area_get_details($id) {
// Call out to modules that want to provide links.
$area_details = module_invoke_all('farm_area_details', check_plain($id));
// Render and return.
return drupal_render($area_details);
}