You are here

public function YamlFormEmailProvider::getModules in YAML Form 8

Get list of known contrib module that support HTML email.

Return value

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

Overrides YamlFormEmailProviderInterface::getModules

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

File

src/YamlFormEmailProvider.php, line 54

Class

YamlFormEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\yamlform

Code

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