public function MailDebuggerForm::__construct in Mail Debugger 8
MailDebuggerForm constructor.
Parameters
\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $storageFactory: The storage factory.
\Drupal\Core\Mail\MailManagerInterface $mailManager: The mail manager.
File
- src/
Form/ MailDebuggerForm.php, line 42
Class
- MailDebuggerForm
- Class MailDebuggerForm.
Namespace
Drupal\mail_debugger\FormCode
public function __construct(KeyValueFactoryInterface $storageFactory, MailManagerInterface $mailManager) {
$this->storage = $storageFactory
->get(static::class);
$this->mailManager = $mailManager;
}