You are here

function uc_cart_block_settings_form_submit in Ubercart 6.2

Saves the shopping cart block settings.

See also

uc_cart_block_settings_form()

1 call to uc_cart_block_settings_form_submit()
uc_cart_block in uc_cart/uc_cart.module
Implements hook_block().

File

uc_cart/uc_cart.module, line 527

Code

function uc_cart_block_settings_form_submit($edit = array()) {
  variable_set('uc_cart_block_empty_hide', $edit['uc_cart_block_empty_hide']);
  variable_set('uc_cart_block_image', $edit['uc_cart_block_image']);
  variable_set('uc_cart_block_collapsible', $edit['uc_cart_block_collapsible']);
  variable_set('uc_cart_block_collapsed', $edit['uc_cart_block_collapsed']);
  variable_set('uc_cart_show_help_text', $edit['uc_cart_show_help_text']);
  variable_set('uc_cart_help_text', $edit['uc_cart_help_text']);
}