You are here

function administration_language_negotiation_admin_validate in Administration Language Negotiation 7

Custom form validate callback.

1 string reference to 'administration_language_negotiation_admin_validate'
administration_language_negotiation_admin in ./administration_language_negotiation.admin.inc
Custom form.

File

./administration_language_negotiation.admin.inc, line 46
The admin page of the administration language negotiation module.

Code

function administration_language_negotiation_admin_validate($form, &$form_state) {
  $values =& $form_state['values'];
  $values['administration_language_negotiation_paths'] = explode("\r\n", $values['administration_language_negotiation_paths']);
}