public function EasyEmailType::setAttachment in Easy Email 8
Same name and namespace in other branches
- 2.0.x 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\EntityCode
public function setAttachment($attachment) {
$this->attachment = $attachment;
return $this;
}