You are here

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

Retrieves the id of the PHPMailer OAuth2 plugin.

Return value

string The id of the plugin.

Overrides PhpmailerOauth2PluginInterface::getId

File

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

Class

PhpmailerOauth2PluginBase
Base class for PHPMailer Oauth2 plugins.

Namespace

Drupal\phpmailer_smtp\Plugin\PhpmailerOauth2

Code

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