You are here

function rules_data_selection_process in Rules 7.2

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 640
Rules User Interface forms.

Code

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