You are here

public function YamlFormEmailProvider::getModuleName in YAML Form 8

Get the HTML email provider human readable module name.

Return value

bool|string The HTML email provider module name.

Overrides YamlFormEmailProviderInterface::getModuleName

File

src/YamlFormEmailProvider.php, line 140

Class

YamlFormEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\yamlform

Code

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