You are here

public function Contact::setEmail in RedHen CRM 8

File

modules/redhen_contact/src/Entity/Contact.php, line 114

Class

Contact
Defines the Contact entity.

Namespace

Drupal\redhen_contact\Entity

Code

public function setEmail($email) {
  $this
    ->set('email', $email);
  return $this;
}