function countries_entity_metadata_field_property_callback in Countries 8
Same name and namespace in other branches
- 7.2 countries.fields.inc \countries_entity_metadata_field_property_callback()
Callback to add in property info defaults per field instance.
See also
entity_metadata_field_entity_property_info().
1 string reference to 'countries_entity_metadata_field_property_callback'
- countries_field_info in ./
countries.fields.inc - Implements hook_field_info().
File
- ./
countries.fields.inc, line 35 - All field related code.
Code
function countries_entity_metadata_field_property_callback(&$info, $entity_type, $field, $instance, $field_type) {
$name = $field['field_name'];
$property =& $info[$entity_type]['bundles'][$instance['bundle']]['properties'][$name];
entity_metadata_field_default_property_callback($info, $entity_type, $field, $instance, $field_type);
$property['options list'] = 'entity_metadata_field_options_list';
}