public function MassContact::htmlSupported in Mass Contact 8
Determines if HTML emails are supported.
Return value
bool Returns TRUE if the system is capable of sending HTML emails.
Overrides MassContactInterface::htmlSupported
File
- src/
MassContact.php, line 125
Class
- MassContact
- The Mass Contact helper service.
Namespace
Drupal\mass_contactCode
public function htmlSupported() {
foreach (static::$htmlEmailModules as $module) {
if ($this->moduleHandler
->moduleExists($module)) {
return TRUE;
}
}
return FALSE;
}