You are here

function og_node_type_form_settings in Organic groups 7.2

AJAX callback to attach the message type fields to the form.

Since the controlling logic for populating the form is in the form builder function, all we do here is select the element and return it to be updated.

1 string reference to 'og_node_type_form_settings'
og_ui_form_node_type_form_alter in og_ui/og_ui.module
Implement hook_form_FORM_ID_alter().

File

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

Code

function og_node_type_form_settings(array $form, array &$form_state) {
  return $form['og']['target_bundles'];
}