You are here

function availability_calendar_block_save in Availability Calendars 7.4

Same name and namespace in other branches
  1. 7.5 availability_calendar.module \availability_calendar_block_save()
  2. 7.3 availability_calendar.module \availability_calendar_block_save()

Implements hook_block_save(). @link http://api.drupal.org/api/drupal/modules--block--block.api.php/function/...

File

./availability_calendar.module, line 291

Code

function availability_calendar_block_save($delta = '', $edit = array()) {

  // Save the settings from the configuration form.
  if ($delta == 'key') {
    variable_set('availability_calendar_block_states_to_show', $edit['availability_calendar_block_states_to_show']);
  }
}