You are here

function editor_admin_format_editor_ajax in Editor 7

AJAX callback for updating the editor settings elements().

1 string reference to 'editor_admin_format_editor_ajax'
editor_form_filter_admin_format_form_alter in includes/editor.admin.inc
Implements hook_form_FORM_ID_alter().

File

includes/editor.admin.inc, line 280
Replaces the core Filter module administration pages.

Code

function editor_admin_format_editor_ajax($form, $form_state) {
  $commands = array();
  $commands[] = ajax_command_replace('#editor-settings-wrapper', drupal_render($form['editor_settings']));
  return array(
    '#type' => 'ajax',
    '#commands' => $commands,
  );
}