You are here

public function WebformEmailProvider::installed in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformEmailProvider.php \Drupal\webform\WebformEmailProvider::installed()

Check if webform email handler is installed.

Overrides WebformEmailProviderInterface::installed

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

File

src/WebformEmailProvider.php, line 95

Class

WebformEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\webform

Code

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