function FormTestStoragePageCacheForm::form_test_storage_page_cache_old_build_id in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php \Drupal\form_test\Form\FormTestStoragePageCacheForm::form_test_storage_page_cache_old_build_id()
Form element #after_build callback: output the old form build-id.
File
- core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestStoragePageCacheForm.php, line 57 - Contains \Drupal\form_test\Form\FormTestStoragePageCacheForm.
Class
Namespace
Drupal\form_test\FormCode
function form_test_storage_page_cache_old_build_id($form) {
if (isset($form['#build_id_old'])) {
$form['test_build_id_old']['#plain_text'] = $form['#build_id_old'];
}
return $form;
}