You are here

function cumulus_default_config in Cumulus 7

5 calls to cumulus_default_config()
cumulus_delete_submit in ./cumulus.admin.inc
Deletion of cumulus blocks.
cumulus_get_config in ./cumulus.module
Returns the configuration for the requested block delta.
cumulus_theme in ./cumulus.module
Implements hook_theme().
cumulus_update_7000 in ./cumulus.install
Migrate Cumulus settings, add the old cumulus block again.
_cumulus_block_save in ./cumulus.admin.inc
Implements hook_block_save().

File

./cumulus.module, line 53
The brain of Cumulus.

Code

function cumulus_default_config() {
  return array(
    'info' => variable_get('cumulus_info', NULL),
    'vid' => variable_get('cumulus_vid', 1),
    'tagadelic_step' => variable_get('cumulus_tagadelic_step', 6),
    'tagadelic_limit' => variable_get('cumulus_tagadelic_limit', 24),
    'flash_width' => variable_get('cumulus_flash_width', 200),
    'flash_height' => variable_get('cumulus_flash_height', 150),
    'flash_background' => variable_get('cumulus_flash_background', 'ffffff'),
    'flash_transparency' => variable_get('cumulus_flash_transparency', 'false'),
    'flash_color' => variable_get('cumulus_flash_color', 'ff0000'),
    'flash_color2' => variable_get('cumulus_flash_color2', '000000'),
    'flash_hicolor' => variable_get('cumulus_flash_hicolor', '666666'),
    'flash_speed' => variable_get('cumulus_flash_speed', 100),
    'flash_distribute' => variable_get('cumulus_flash_distribute', 'true'),
    'flash_font_size' => variable_get('cumulus_flash_font_size', 10),
    'flash_font_size_interval' => variable_get('cumulus_flash_font_size_interval', 2),
  );
}