You are here

function follow_block_save in Follow 7

Same name and namespace in other branches
  1. 5 follow.module \follow_block_save()
  2. 6 follow.module \follow_block_save()
  3. 7.2 follow.module \follow_block_save()

Implementation of hook_block_save().

File

./follow.module, line 204
Allows users to add links to their social network profiles.

Code

function follow_block_save($delta = '', $edit = array()) {
  variable_set('follow_' . $delta . '_block_title', $edit['follow_title']);
  if ($delta == 'site') {
    variable_set('follow_site_block_user', $edit['follow_user']);
  }
}