public function EasyEmailInterface::addAttachment in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Entity/EasyEmailInterface.php \Drupal\easy_email\Entity\EasyEmailInterface::addAttachment()
Add file attachment by ID.
Parameters
int $fid: The file attachment id.
Return value
$this
1 method overrides EasyEmailInterface::addAttachment()
- EasyEmail::addAttachment in src/
Entity/ EasyEmail.php - @inheritDoc
File
- src/
Entity/ EasyEmailInterface.php, line 488
Class
- EasyEmailInterface
- Provides an interface for defining Email entities.
Namespace
Drupal\easy_email\EntityCode
public function addAttachment($fid);