You are here

public function EasyEmailType::setAttachment in Easy Email 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EasyEmailType.php \Drupal\easy_email\Entity\EasyEmailType::setAttachment()

Parameters

array $attachment:

Return value

$this

Overrides EasyEmailTypeInterface::setAttachment

File

src/Entity/EasyEmailType.php, line 447

Class

EasyEmailType
Defines the Email template entity.

Namespace

Drupal\easy_email\Entity

Code

public function setAttachment($attachment) {
  $this->attachment = $attachment;
  return $this;
}