public function EmailInterface::setTo in Commerce Email 8
Sets the "to" address.
Parameters
string $to: The "to" address.
Return value
$this
1 method overrides EmailInterface::setTo()
- Email::setTo in src/
Entity/ Email.php - Sets the "to" address.
File
- src/
Entity/ EmailInterface.php, line 95
Class
- EmailInterface
- @todo Add CC and BCC (and support multiple). @todo Support a plain-text version of the body?
Namespace
Drupal\commerce_email\EntityCode
public function setTo($to);