function form_test_storage_page_cache_old_build_id

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

1 string reference to 'form_test_storage_page_cache_old_build_id'
form_test_storage_page_cache_form in modules/simpletest/tests/form_test.module
A simple form for testing form storage when page caching is enabled.

File

modules/simpletest/tests/form_test.module, line 907

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.