You are here

function collapsiblock_submit in Javascript Tools 5

File

collapsiblock/collapsiblock.module, line 81
Make blocks collapsible.

Code

function collapsiblock_submit($form_id, $edit) {
  $settings = variable_get('collapsiblock_settings', array());
  $settings['block-' . $edit['module'] . '-' . $edit['delta']] = $edit['collapse_type'];
  variable_set('collapsiblock_settings', $settings);
}