1 ajax_forms_test.module ajax_forms_test_advanced_commands_changed_asterisk_callback($form, $form_state)

Ajax callback for 'changed' with asterisk marking inner div.

File

core/modules/simpletest/tests/ajax_forms_test.module, line 325
Simpletest mock module for Ajax forms testing.

Code

function ajax_forms_test_advanced_commands_changed_asterisk_callback($form, $form_state) {
  $commands = array();
  $commands[] = ajax_command_changed('#changed_div', '#changed_div_mark_this');
  return array('#type' => 'ajax', '#commands' => $commands);
}