function rules_data_selection_process

FAPI process callback for the data selection widget.

This finalises the auto completion callback path by appending the form build id.

1 string reference to 'rules_data_selection_process'
rules_element_info in ./rules.module
Implements hook_element_info().

File

ui/ui.forms.inc, line 642

Code

function rules_data_selection_process($element, &$form_state, $form) {
    $element['#autocomplete_path'] .= '/' . $form['#build_id'];
    $form_state['cache'] = TRUE;
    return $element;
}