You are here

public function EasyEmail::setBCCAddresses in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EasyEmail.php \Drupal\easy_email\Entity\EasyEmail::setBCCAddresses()

@inheritDoc

Overrides EasyEmailInterface::setBCCAddresses

File

src/Entity/EasyEmail.php, line 483

Class

EasyEmail
Defines the Email entity.

Namespace

Drupal\easy_email\Entity

Code

public function setBCCAddresses($addresses) {
  if ($this
    ->hasField('bcc_address')) {
    $this
      ->set('bcc_address', $addresses);
  }
  return $this;
}