function closeblock_default_settings in Close Block 7
Same name and namespace in other branches
- 6 includes/closeblock.api.inc \closeblock_default_settings()
Default theme's settings.
4 calls to closeblock_default_settings()
- closeblock_block_admin_configure in includes/
closeblock.form.inc - Add Closeblock settings to block settings form.
- closeblock_initialization in includes/
closeblock.api.inc - Load settings.
- closeblock_submit in includes/
closeblock.form.inc - Form submission handler for block_admin_configure().
- closeblock_system_theme_settings in includes/
closeblock.form.inc - Add Closeblock settings to theme settings form.
File
- includes/
closeblock.api.inc, line 11 - Module settings functions.
Code
function closeblock_default_settings() {
$defaults = array(
'closeblock_active' => CLOSEBLOCK_ACTIVE,
'closeblock_custom' => CLOSEBLOCK_CUSTOM,
'closeblock_type' => CLOSEBLOCK_TYPE,
'closeblock_speed' => CLOSEBLOCK_SPEED,
'closeblock_save' => CLOSEBLOCK_SAVE,
'closeblock_count' => CLOSEBLOCK_COUNT,
'closeblock_frequency' => CLOSEBLOCK_FREQUENCY,
'closeblock_button_text' => CLOSEBLOCK_BUTTON_TEXT,
);
return $defaults;
}