You are here

function _relation_add_field_instance_settings_validate in Relation add 7

Validate for relation_add_field_instance_settings_form().

1 string reference to '_relation_add_field_instance_settings_validate'
relation_add_field_instance_settings_form in ./relation_add.module
Implements hook_field_instance_settings_form().

File

./relation_add.module, line 511
Relation Add module file.

Code

function _relation_add_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 = $form_state['values']['instance'];
  }
  $form_state['relation_add']['instance'] = $instance;
}