You are here

public function PhpmailerOauth2PluginBase::getName in PHPMailer SMTP 2.1.x

Retrieves the human-readable name of the PHPMailer Oauth2 plugin.

Return value

string The name of the plugin.

Overrides PhpmailerOauth2PluginInterface::getName

File

src/Plugin/PhpmailerOauth2/PhpmailerOauth2PluginBase.php, line 16

Class

PhpmailerOauth2PluginBase
Base class for PHPMailer Oauth2 plugins.

Namespace

Drupal\phpmailer_smtp\Plugin\PhpmailerOauth2

Code

public function getName() {
  $this
    ->checkKeyDefined('name');
  return $this->pluginDefinition['name'];
}