You are here

function party_primary_fields_source_table_source_cleanup in Party 7

Submission handler for party_primary_fields_source_table().

1 string reference to 'party_primary_fields_source_table_source_cleanup'
PartyPrimaryFields::sourceForm in includes/party.primary_fields.inc
Set up a source form under the given element.

File

./party.admin.inc, line 245
Admin page callback file for the party module.

Code

function party_primary_fields_source_table_source_cleanup($element, &$form_state, $form) {
  $values =& drupal_array_get_nested_value($form_state['values'], $element['#parents']);
  unset($values['remove']);
}