function dynamic_background_upload_form_validate in Dynamic Background 7
Same name and namespace in other branches
- 6 includes/upload.form.inc \dynamic_background_upload_form_validate()
- 7.2 includes/upload.form.inc \dynamic_background_upload_form_validate()
Validation of the background_upload_form element. It have to return the $form.
1 string reference to 'dynamic_background_upload_form_validate'
- dynamic_background_element_info in includes/
upload.form.inc - Implements hook_elements().
File
- includes/
upload.form.inc, line 119 - The functions here is used to create an new form element (background_upload_form), which can be used to upload images. It also gives the possibility to flag a image for deletion or active background image.
Code
function dynamic_background_upload_form_validate($element, &$form_state) {
return $element;
}