You are here

function og_field_property_callback in Organic groups 7

OG audience field metadata callback.

1 string reference to 'og_field_property_callback'
og_field_info in ./og.field.inc
Implements hook_field_info().

File

./og.field.inc, line 27
Field module functionality for the Organic groups module.

Code

function og_field_property_callback(&$info, $entity_type, $field, $instance, $field_type) {

  // Set the property type to "group".
  $field_type['property_type'] = 'group';

  // Then apply the default.
  entity_metadata_field_default_property_callback($info, $entity_type, $field, $instance, $field_type);
}