You are here

function entityreference_settings_ajax in Entity reference 8

Same name and namespace in other branches
  1. 7 entityreference.module \entityreference_settings_ajax()

Ajax callback for the handler settings form.

See also

entityreference_field_settings_form()

1 string reference to 'entityreference_settings_ajax'
_entityreference_field_settings_ajax_process_element in ./entityreference.module

File

./entityreference.module, line 308
Provides a field that can reference other entities.

Code

function entityreference_settings_ajax($form, $form_state) {
  $trigger = $form_state['triggering_element'];
  return drupal_array_get_nested_value($form, $trigger['#ajax']['element']);
}