You are here

function shadowbox_form_alter_submit in Shadowbox 6.3

Same name and namespace in other branches
  1. 6.4 shadowbox.module \shadowbox_form_alter_submit()
1 string reference to 'shadowbox_form_alter_submit'
shadowbox_form_alter in ./shadowbox.module
Implementation of hook_form_alter().

File

./shadowbox.module, line 704
Shadowbox, a JavaScript media viewer application for displaying content in a modal dialogue.

Code

function shadowbox_form_alter_submit($form, &$form_state) {
  $values = $form_state['values'];
  variable_set("shadowbox_title_text_{$values['type_name']}_{$values['field_name']}", $values['title_text']);
}