You are here

public function WebformEmailProvider::getModules in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformEmailProvider.php \Drupal\webform\WebformEmailProvider::getModules()

Get list of known contrib module that support HTML email.

Return value

array An array containing known contrib module that support HTML email.

Overrides WebformEmailProviderInterface::getModules

2 calls to WebformEmailProvider::getModules()
WebformEmailProvider::check in src/WebformEmailProvider.php
Check if the Webform module should provide support for sending HTML emails.
WebformEmailProvider::getModule in src/WebformEmailProvider.php
Get the HTML email provider module machine name.

File

src/WebformEmailProvider.php, line 54

Class

WebformEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\webform

Code

public function getModules() {
  return [
    // Mail System - https://www.drupal.org/project/mailsystem
    'mailsystem',
    // SMTP Authentication Support - https://www.drupal.org/project/smtp
    'smtp',
  ];
}