1 form_test.module form_test_storage_page_cache_old_build_id($form)

Form element #after_build callback: output the old form build-id.

File

core/modules/simpletest/tests/form_test.module, line 953
Helper module for the form API tests.

Code

function form_test_storage_page_cache_old_build_id($form) {
  if (isset($form['#build_id_old'])) {
    $form['test_build_id_old']['#markup'] = check_plain($form['#build_id_old']);
  }
  return $form;
}