You are here

public function MailgunHandlerInterface::validateMailgunApiSettings in Mailgun 8

Checks if API settings are correct and not empty.

Parameters

bool $showMessage: Whether error messages should be shown.

Return value

bool Whether API settings are valid.

1 method overrides MailgunHandlerInterface::validateMailgunApiSettings()
MailgunHandler::validateMailgunApiSettings in src/MailgunHandler.php
Checks if API settings are correct and not empty.

File

src/MailgunHandlerInterface.php, line 80

Class

MailgunHandlerInterface
The interface for Mailgun handler service.

Namespace

Drupal\mailgun

Code

public function validateMailgunApiSettings($showMessage = FALSE);