You are here

function forward_block_save in Forward 7.3

Same name and namespace in other branches
  1. 7 forward.module \forward_block_save()
  2. 7.2 forward.module \forward_block_save()

Implements hook_block_save().

File

./forward.module, line 1336
Allows forwarding of entities by email, and provides a record of how often each has been forwarded.

Code

function forward_block_save($delta, $edit) {
  switch ($delta) {
    case 'stats':
      variable_set('forward_block_type', $edit['forward_block_type']);
      variable_set('forward_block_entity_type', $edit['forward_block_entity_type']);
      break;
    case 'form':
      variable_set('forward_block_form', $edit['forward_block_form']);
      break;
  }
}