You are here

function og_node_import_fields_alter in Node import 6

Implementation of hook_node_import_fields_alter().

File

supported/og/og.inc, line 126
Support file for the og (Organic Groups) module.

Code

function og_node_import_fields_alter(&$fields, $type) {
  if (($node_type = node_import_type_is_node($type)) !== FALSE && og_is_group_type($node_type)) {
    if (isset($fields['body']) && $fields['body']['title'] == t('Body')) {
      $fields['body']['title'] = t('Mission statement');
    }
  }
}