You are here

function redhen_fields_flatten_email_options in RedHen CRM 7

Fieldset process to flatten the e-mail options array.

1 string reference to 'redhen_fields_flatten_email_options'
redhen_fields_field_widget_form in modules/redhen_fields/redhen_fields.module
Implements hook_field_widget_form().

File

modules/redhen_fields/redhen_fields.module, line 594
Defines email, phone and address field types for RedHen CRM.

Code

function redhen_fields_flatten_email_options(&$form, &$form_state, $complete) {
  array_pop($form['#parents']);
  return $form;
}