function mailsystem_get in Mail System 8.2
Same name and namespace in other branches
- 8 mailsystem.module \mailsystem_get()
- 6.2 mailsystem.module \mailsystem_get()
- 6 mailsystem.module \mailsystem_get()
- 7.3 mailsystem.module \mailsystem_get()
- 7 mailsystem.module \mailsystem_get()
- 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.
5 calls to mailsystem_get()
- 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.
- mailsystem_set in ./
mailsystem.module - Helps other modules safely set their own key within mail_system. This function should be called from hook_enable() implementations.
File
- ./
mailsystem.module, line 87 - Provide UI for controlling the mail_system variable.
Code
function mailsystem_get() {
return array_merge(mailsystem_defaults(), variable_get('mail_system', mailsystem_defaults()));
}