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