You are here

function mailsystem_get in Mail System 6.2

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

Returns the current mail_system settings.

Return value

The contents of the mail_system variable merged with its defaults.

6 calls to mailsystem_get()
drupal_mail_system in ./mailsystem.module
Returns an object that implements the MailSystemInterface.
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_default_methods in ./mailsystem.module
Returns the default list of MailSystemInterface methods.
mailsystem_get_classes in ./mailsystem.module
Returns a list of classes which implement MailSystemInterface.

... See full list

File

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

Code

function mailsystem_get() {
  return array_merge(mailsystem_defaults(), variable_get('mail_system', mailsystem_defaults()));
}