You are here

function andromeda_slideshow_manage_form_submit in Andromeda Slideshow 7

Same name and namespace in other branches
  1. 7.2 includes/andromeda_slideshow.forms.inc \andromeda_slideshow_manage_form_submit()

Submit handler for andromeda_slideshow_manage_form

File

includes/andromeda_slideshow.forms.inc, line 215
Form definitions for andromeda slideshow module

Code

function andromeda_slideshow_manage_form_submit($form, &$form_state) {
  $slideshow = $form['images']['#slideshow'];
  $images = $form_state['values']['images'];

  //update the image position
  if (andromeda_slideshow_reorder_slideshow($slideshow, $images)) {
    drupal_set_message(t('Your settings have been saved.'));
  }
}