You are here

function mailsystem_defaults in Mail System 6

Same name and namespace in other branches
  1. 8 mailsystem.module \mailsystem_defaults()
  2. 8.2 mailsystem.module \mailsystem_defaults()
  3. 6.2 mailsystem.module \mailsystem_defaults()
  4. 7.3 mailsystem.module \mailsystem_defaults()
  5. 7 mailsystem.module \mailsystem_defaults()
  6. 7.2 mailsystem.module \mailsystem_defaults()

Returns the default settings for the mail_system variable.

4 calls to mailsystem_defaults()
mailsystem_admin_settings in ./mailsystem.admin.inc
@file Administrative form for setting the mail_system variable.
mailsystem_admin_settings_submit in ./mailsystem.admin.inc
Processes mailsystem_admin_settings form.
mailsystem_clear in ./mailsystem.module
Helps other modules safely remove their settings from mail_system. This function should be called from the other module's hook_disable() function.
mailsystem_get in ./mailsystem.module
Returns the current mail_system settings.

File

./mailsystem.module, line 47
Provide UI for controlling the mail_system variable.

Code

function mailsystem_defaults() {
  return array(
    mailsystem_default_id() => mailsystem_default_value(),
  );
}