You are here

function facebook_comments_block_save in Facebook Comments Social Plugin 7

Implements hook_block_save().

File

./facebook_comments.module, line 96
Facebook Comments Social Plugin module file.

Code

function facebook_comments_block_save($delta = '', $edit = array()) {
  if ($delta == 'facebook-comments') {
    variable_set('facebook_comments_block_style', $edit['facebook_comments_block_style']);
    variable_set('facebook_comments_block_width', $edit['facebook_comments_block_width']);
    variable_set('facebook_comments_block_width_fluid', $edit['facebook_comments_block_width_fluid']);
    variable_set('facebook_comments_block_amount', $edit['facebook_comments_block_amount']);
  }
}