public function Email::setTo in Commerce Email 8
Sets the "to" address.
Parameters
string $to: The "to" address.
Return value
$this
Overrides EmailInterface::setTo
File
- src/
Entity/ Email.php, line 222
Class
- Defines the email entity class.
Namespace
Drupal\commerce_email\EntityCode
public function setTo($to) {
$this->to = $to;
return $this;
}