You are here

function sharethis_block_block_save in Sharethis block 7

Implements hook_block_save().

File

./sharethis_block.module, line 73
Hook implementations for the sharethis_block module.

Code

function sharethis_block_block_save($delta = '', $edit = []) {
  switch ($delta) {
    case 'sharethis':
      variable_set('sharethis_property_id', $edit['sharethis_property_id']);
      variable_set('sharethis_inline', $edit['sharethis_inline']);
      break;
  }
}