You are here

function fractionslider_block_save in Views FractionSlider 7.2

Implements hook_block_save().

File

./fractionslider.module, line 238
Module file.

Code

function fractionslider_block_save($delta = '', $edit = array()) {
  if ($delta == 'fractionslider') {
    variable_set('fractionslider_markup', $edit['fractionslider_markup']);
    variable_set('fractionslider_controls', $edit['fractionslider_controls']);
    variable_set('fractionslider_pager', $edit['fractionslider_pager']);
    variable_set('fractionslider_dimensions', $edit['fractionslider_dimensions']);
    variable_set('fractionslider_fullwidth', $edit['fractionslider_fullwidth']);
    variable_set('fractionslider_responsive', $edit['fractionslider_responsive']);
    variable_set('fractionslider_increase', $edit['fractionslider_increase']);
    variable_set('fractionslider_autochange', $edit['fractionslider_autochange']);
  }
}