You are here

function _htmlpurifer_config_form_ajax_callback in HTML Purifier 7.2

Callback for htmlpurifier_config_form.

On an ajax submit, the form builder function is called again, then the $form and $form_state are passed to this callback function so it can select which portion of the form to send on to the client.

Return value

renderable array (the markup element)

1 string reference to '_htmlpurifer_config_form_ajax_callback'
_htmlpurifier_settings in ./htmlpurifier.module
Generates a settings form for configuring HTML Purifier.

File

./htmlpurifier.module, line 729
Implements HTML Purifier as a Drupal filter.

Code

function _htmlpurifer_config_form_ajax_callback($form, $form_state) {
  return $form['filters']['settings']['htmlpurifier']['htmlpurifier_config_form'];
}