You are here

public function MailgunFactory::__construct in Mailgun 8

Constructs MailgunFactory object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

File

src/MailgunFactory.php, line 26

Class

MailgunFactory
Defines the mailgun factory.

Namespace

Drupal\mailgun

Code

public function __construct(ConfigFactoryInterface $configFactory) {
  $this->mailgunConfig = $configFactory
    ->get(MailgunHandlerInterface::CONFIG_NAME);
}