You are here

function bootstrap_languages_block_save in Bootstrap Languages 7

Implements hook_block_save().

File

./bootstrap_languages.module, line 101
Provides a Bootstrap dropdown button to switch between available languages.

Code

function bootstrap_languages_block_save($delta = '', $edit = array()) {
  $bootstrap_languages_settings = array(
    'show_all' => $edit['show_all'],
    'btn_type' => $edit['btn_type'],
  );
  variable_set('bootstrap_languages_block_settings', $bootstrap_languages_settings);
}