You are here

function _jquery_countdown_block_block_configure in jQuery Countdown 6

Returns the 'configure' $op info for hook_block().

File

jquery_countdown_block/jquery_countdown_block.admin.inc, line 60
Provides infrequently used functions for jquery_countdown_block.

Code

function _jquery_countdown_block_block_configure($delta) {
  $form = array();

  // get all stored values
  $block_settings = variable_get('jquery_countdown_block_' . $delta . '_settings', array());

  // get our settings form elements from base module give current settings as attribute so we get always the right defaults.
  $form = array_merge($form, _jquery_countdown_settings_form($block_settings));
  return $form;
}