You are here

public function YamlFormEmailProvider::installed in YAML Form 8

Check if form email handler is installed.

Overrides YamlFormEmailProviderInterface::installed

1 call to YamlFormEmailProvider::installed()
YamlFormEmailProvider::getModule in src/YamlFormEmailProvider.php
Get the HTML email provider module machine name.

File

src/YamlFormEmailProvider.php, line 95

Class

YamlFormEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\yamlform

Code

public function installed() {
  return $this->configFactory
    ->get('system.mail')
    ->get('interface.yamlform') == 'yamlform_php_mail';
}