function form_builder_after_build in Form Builder 6
Same name and namespace in other branches
- 7.2 includes/form_builder.admin.inc \form_builder_after_build()
- 7 includes/form_builder.admin.inc \form_builder_after_build()
File
- includes/
form_builder.admin.inc, line 574 - form_builder.admin.inc Administrative interface for editing forms.
Code
function form_builder_after_build($element) {
$element['#attributes']['readonly'] = 'readonly';
foreach (element_children($element) as $key) {
$element[$key] = form_builder_after_build($element[$key]);
}
return $element;
}