function better_messages_get_settings in Better Messages 7
Same name and namespace in other branches
- 6.2 better_messages.module \better_messages_get_settings()
- 6 better_messages.module \better_messages_get_settings()
4 calls to better_messages_get_settings()
- better_messages_add_files in ./
better_messages.module - Helper function to add required JS and CSS only when required
- better_messages_admin in ./
better_messages.inc - better_messages_process_autoclose in ./
better_messages.module - Helper function to process auto close
- better_messages_process_visibility in ./
better_messages.module
File
- ./
better_messages.module, line 140
Code
function better_messages_get_settings() {
$settings = array(
'position' => 'center',
'vertical' => 0,
'horizontal' => 10,
'fixed' => 1,
'width' => '400px',
'autoclose' => 0,
'opendelay' => 0.3,
'disable_autoclose' => 0,
'show_countdown' => 1,
'hover_autoclose' => 1,
'popin' => array(
'effect' => 'fadeIn',
'duration' => 'slow',
),
'popout' => array(
'effect' => 'fadeOut',
'duration' => 'slow',
),
'jquery_ui' => array(
'draggable' => 0,
'resizable' => 0,
),
'extra' => array(
'pages' => '',
'visibility' => 0,
'admin' => TRUE,
'themes' => array(),
),
);
return variable_get('better_messages', $settings);
}