You are here

public function WebformEmailProvider::getModuleName in Webform 6.x

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

Get the HTML email provider human readable module name.

Return value

bool|string The HTML email provider module name.

Overrides WebformEmailProviderInterface::getModuleName

File

src/WebformEmailProvider.php, line 144

Class

WebformEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\webform

Code

public function getModuleName() {
  return ($module = $this
    ->getModule()) ? $this->moduleHandler
    ->getName($module) : FALSE;
}