You are here

function mediafront_block_save in MediaFront 6.2

Same name and namespace in other branches
  1. 6 mediafront.module \mediafront_block_save()
  2. 7 mediafront.module \mediafront_block_save()

Implementation of hook_block_save

1 call to mediafront_block_save()
mediafront_block in ./mediafront.module
Implements hook_block

File

./mediafront.module, line 565

Code

function mediafront_block_save($delta = '', $edit = array()) {
  if ($delta == 'mediaplayer') {
    variable_set('mediafront_block_preset', $edit['mediafront_block_preset']);
    variable_set('mediafront_block_playlist', $edit['mediafront_block_playlist']);
  }
}