You are here

function floating_block_admin_submit in Floating block 7

Same name and namespace in other branches
  1. 6 floating_block.admin.inc \floating_block_admin_submit()

Submit handler for floating_block admin form.

Saves floating_blocks variable.

File

./floating_block.admin.inc, line 57
Admin page callbacks for the floating_block module.

Code

function floating_block_admin_submit($form, &$form_state) {
  variable_set('floating_blocks', _floating_block_admin_convert_text_to_array($form_state['values']['floating_blocks']));
  variable_set('floating_block_min_width', $form_state['values']['floating_block_min_width']);
  drupal_set_message(t('The configuration options have been saved.'));
}