You are here

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

Email
Defines the email entity class.

Namespace

Drupal\commerce_email\Entity

Code

public function setFrom($from) {
  $this->from = $from;
  return $this;
}