You are here

function node_gallery_api_manage_items_validate in Node Gallery 7

Validation hanlder for Manage Items form.

1 string reference to 'node_gallery_api_manage_items_validate'
node_gallery_api_manage_items_form in ./node_gallery_api.pages.inc
Displays the content for our "Manage Images" tab, which is a VBO view.

File

./node_gallery_api.pages.inc, line 404
Node Gallery module.

Code

function node_gallery_api_manage_items_validate($form, &$form_state) {
  if (!empty($form_state['values']['items'])) {
    foreach ($form_state['values']['items'] as $nid => $image_form_state) {
      node_validate($form['items'][$nid]['edit_form']['#node'], $form['items'][$nid]['edit_form'], $image_form_state['edit_form']);
    }
  }
}