You are here

function node_gallery_images_edit_validate in Node Gallery 6.2

2 string references to 'node_gallery_images_edit_validate'
node_gallery_edit_images_form in ./node_gallery.pages.inc
node_gallery_sort_images_form in ./node_gallery.pages.inc
This is exactly like the edit images form except it removes the ability to edit the image content and removes pagination

File

./node_gallery.pages.inc, line 538
Node gallery pages.

Code

function node_gallery_images_edit_validate($form, &$form_state) {
  if (!empty($form_state['values']['files'])) {
    foreach ($form_state['values']['files'] as $key => $image_form_state) {
      node_validate($image_form_state['edit_form'], $form['files'][$key]['edit_form']);
    }
  }
}