You are here

function og_field_info in Organic groups 7

Implements hook_field_info().

File

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

Code

function og_field_info() {
  return array(
    'group' => array(
      'label' => t('Group audience'),
      'description' => t('This field stores groups associated with the content.'),
      'default_widget' => OG_AUDIENCE_WIDGET,
      'default_formatter' => 'og_list_default',
      'property_callbacks' => array(
        'og_field_property_callback',
      ),
    ),
  );
}