You are here

function farm_flags_list in farmOS 7

Get a list of available flags.

2 calls to farm_flags_list()
farm_flags_farm_area_details in modules/farm/farm_area/farm_area.farm_area.inc
Implements hook_farm_area_details().
farm_flags_field_allowed_values in modules/farm/farm_flags/farm_flags.module
Allowed values callback function for the flags field.

File

modules/farm/farm_flags/farm_flags.module, line 10
Farm flags module.

Code

function farm_flags_list() {

  // Ask modules for flags.
  $flags = module_invoke_all('farm_flags');

  // Return them.
  return $flags;
}