og_menu.api.php in Organic Groups Menu (OG Menu) 7.3
Documentation of the API functions exposed by this module.
File
og_menu.api.phpView source
<?php
/**
 * @file
 * Documentation of the API functions exposed by this module.
 */
/**
 * Implements hook_og_menu_admin_menu_overview_form_tableselect().
 *
 * Useful for other module that extend the functionality of the og menu admin
 * overview form.
 * When a module returns TRUE, the menu table will be rendered with checkboxes
 * in the left column.
 *
 * @return bool
 */
function og_menu_og_menu_admin_menu_overview_form_tableselect() {
  return TRUE;
}
/**
 * Implements hook_og_menu_audience_fields_alter().
 */
function og_menu_og_menu_audience_fields(&$group_audience_fields, $type) {
  if ($type == 'group_page') {
    unset($group_audience_fields['some_field']);
  }
}Functions
| 
            Name | 
                  Description | 
|---|---|
| og_menu_og_menu_admin_menu_overview_form_tableselect | Implements hook_og_menu_admin_menu_overview_form_tableselect(). | 
| og_menu_og_menu_audience_fields | Implements hook_og_menu_audience_fields_alter(). |