You are here

function farm_flags_field_allowed_values in farmOS 7

Allowed values callback function for the flags field.

2 calls to farm_flags_field_allowed_values()
farm_flags_action_form in modules/farm/farm_flags/farm_flags.module
Configuration form for farm_flags_action.
farm_livestock_weight_group_report_form in modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.module
Animal group report form.
1 string reference to 'farm_flags_field_allowed_values'
farm_flags_field_default_field_bases in modules/farm/farm_flags/farm_flags.features.field_base.inc
Implements hook_field_default_field_bases().

File

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

Code

function farm_flags_field_allowed_values() {
  return farm_flags_list();
}