function _entityreference_field_instance_settings_validate in Entity reference 7
Implements hook_validate().
1 string reference to '_entityreference_field_instance_settings_validate'
File
- ./
entityreference.module, line 612 - Entityreference primary module file.
Code
function _entityreference_field_instance_settings_validate($form, &$form_state) {
// Store the new values in the form state.
$instance = $form['#instance'];
if (isset($form_state['values']['instance'])) {
$instance = drupal_array_merge_deep($instance, $form_state['values']['instance']);
}
$form_state['entityreference']['instance'] = $instance;
}