function CaptureTransport::setKeyValueFactory
Set key value factory.
Attributes
#[Required]
File
-
core/
modules/ mailer/ tests/ modules/ mailer_capture/ src/ Transport/ CaptureTransport.php, line 28
Class
- CaptureTransport
- Defines a mail transport that captures sent messages in a key value store.
Namespace
Drupal\mailer_capture\TransportCode
public function setKeyValueFactory(KeyValueFactoryInterface $keyValueFactory) : void {
$this->keyValueFactory = $keyValueFactory;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.