You are here

function og_ui_field_formatter_info in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og_ui/og_ui.module \og_ui_field_formatter_info()

Implement hook_field_formatter_info().

File

og_ui/og_ui.module, line 564
Organic groups UI.

Code

function og_ui_field_formatter_info() {
  return array(
    'og_group_subscribe' => array(
      'label' => t('OG subscribe link'),
      'field types' => array(
        'list_boolean',
      ),
      'settings' => array(
        'field_name' => FALSE,
      ),
    ),
    'og_list_default' => array(
      'label' => t('OG audience list'),
      'field types' => array(
        'entityreference',
      ),
    ),
  );
}