You are here

function mailsystem_defaults in Mail System 7

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. 6 mailsystem.module \mailsystem_defaults()
  5. 7.3 mailsystem.module \mailsystem_defaults()
  6. 7.2 mailsystem.module \mailsystem_defaults()

Returns the default settings for the mail_system variable.

3 calls to mailsystem_defaults()
mailsystem_admin_settings in ./mailsystem.admin.inc
@file Administrative form for setting the mail_system variable.
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 42
Provide UI for controlling the mail_system variable.

Code

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