You are here

function copyright_block_block_save in Copyright Block module 7.2

Same name and namespace in other branches
  1. 7 copyright_block.module \copyright_block_block_save()

Implements hook_block_save().

File

./copyright_block.module, line 72
Creates a dynamic copyright information block.

Code

function copyright_block_block_save($delta = '', $edit = array()) {

  // Update the start year variable.
  variable_set('copyright_block_start_year', $edit['start_year']);
  variable_set('copyright_block_separator', $edit['separator']);
  variable_set('copyright_block_text', $edit['text']);
}