You are here

function better_messages_get_settings in Better Messages 6

Same name and namespace in other branches
  1. 6.2 better_messages.module \better_messages_get_settings()
  2. 7 better_messages.module \better_messages_get_settings()
4 calls to better_messages_get_settings()
better_messages_add_files in ./better_messages.module
better_messages_admin in ./better_messages.inc
better_messages_preprocess_page in ./better_messages.module
better_messages_process_visibility in ./better_messages.module

File

./better_messages.module, line 121

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,
    ),
  );
  return variable_get('better_messages', $settings);
}