You are here

public function YamlFormEmailProvider::getMailPluginDefinition in YAML Form 8

Get the mail back-end plugin definition.

Return value

array A plugin definition array.

Overrides YamlFormEmailProviderInterface::getMailPluginDefinition

File

src/YamlFormEmailProvider.php, line 155

Class

YamlFormEmailProvider
Manages and provides HTML email support.

Namespace

Drupal\yamlform

Code

public function getMailPluginDefinition() {
  $plugin_id = $this
    ->getMailPluginId();
  return $plugin_id ? $this->mailManager
    ->getDefinition($plugin_id) : NULL;
}