You are here

function newsletter_block_save in Newsletter 7

Implements hook_block_save().

File

./newsletter.module, line 549
Defines menu items for newsletter administration, permissions and basic drupal hooks.

Code

function newsletter_block_save($delta = '', $edit = array()) {
  if ($delta == 'newsletter_subscribe') {

    // Save the configuration to the database.
    variable_set('newsletter_block_prefix', $edit['newsletter_block_prefix']);
    variable_set('newsletter_block_suffix', $edit['newsletter_block_suffix']);
  }
  return;
}