function prev_next_block_save in Previous/Next API 7.2
Same name and namespace in other branches
- 7 prev_next.module \prev_next_block_save()
Implements hook_block_save().
File
- ./
prev_next.block.inc, line 92 - Creates the previous next node block.
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]);
}