You are here

function photos_form_redirect in Album Photos 7.3

Same name and namespace in other branches
  1. 8.5 photos.module \photos_form_redirect()
  2. 8.4 photos.module \photos_form_redirect()
  3. 6.0.x photos.module \photos_form_redirect()

Redirect photos form to image management page.

1 string reference to 'photos_form_redirect'
photos_form_alter in ./photos.module
Implements hook_form_alter().

File

./photos.module, line 1039
Implementation of photos.module.

Code

function photos_form_redirect($form, &$form_state) {
  $form_state['redirect'] = 'node/' . $form_state['nid'] . '/photos';
}