You are here

public function MailgunHandlerInterface::validateMailgunApiKey in Mailgun 8

Validates Mailgun API key.

Parameters

string $key: The API key.

Return value

bool Whether the API key is valid.

1 method overrides MailgunHandlerInterface::validateMailgunApiKey()
MailgunHandler::validateMailgunApiKey in src/MailgunHandler.php
Validates Mailgun API key.

File

src/MailgunHandlerInterface.php, line 69

Class

MailgunHandlerInterface
The interface for Mailgun handler service.

Namespace

Drupal\mailgun

Code

public function validateMailgunApiKey($key);