You are here

function prev_next_block_save in Previous/Next API 7

Same name and namespace in other branches
  1. 7.2 prev_next.block.inc \prev_next_block_save()

Implements hook_block_save().

File

./prev_next.module, line 360

Code

function prev_next_block_save($delta, $edit) {
  variable_set('prev_next_display_prev' . $delta, $edit['prev_next_display_prev' . $delta]);
  variable_set('prev_next_display_next' . $delta, $edit['prev_next_display_next' . $delta]);
  variable_set('prev_next_display_text_prev' . $delta, $edit['prev_next_display_text_prev' . $delta]);
  variable_set('prev_next_display_text_next' . $delta, $edit['prev_next_display_text_next' . $delta]);
}