function entityreference_settings_ajax in Entity reference 7
Same name and namespace in other branches
- 8 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 - Helper function for custom ajax processing.
File
- ./
entityreference.module, line 698 - Entityreference primary module file.
Code
function entityreference_settings_ajax($form, $form_state) {
$trigger = $form_state['triggering_element'];
return drupal_array_get_nested_value($form, $trigger['#ajax']['element']);
}