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\mailgunCode
public function __construct(ConfigFactoryInterface $configFactory) {
$this->mailgunConfig = $configFactory
->get(MailgunHandlerInterface::CONFIG_NAME);
}