public function RecipientHandlerInterface::addToSpool in Simplenews 8.2
Same name and namespace in other branches
- 3.x src/RecipientHandler/RecipientHandlerInterface.php \Drupal\simplenews\RecipientHandler\RecipientHandlerInterface::addToSpool()
Adds a newsletter issue to the mail spool.
Return value
int Number of recipients added.
3 methods override RecipientHandlerInterface::addToSpool()
- RecipientHandlerEntityBase::addToSpool in src/
Plugin/ simplenews/ RecipientHandler/ RecipientHandlerEntityBase.php - Adds a newsletter issue to the mail spool.
- RecipientHandlerSelectBase::addToSpool in src/
Plugin/ simplenews/ RecipientHandler/ RecipientHandlerSelectBase.php - Adds a newsletter issue to the mail spool.
- RecipientHandlerSiteMail::addToSpool in modules/
simplenews_demo/ src/ Plugin/ simplenews/ RecipientHandler/ RecipientHandlerSiteMail.php - Adds a newsletter issue to the mail spool.
File
- src/
RecipientHandler/ RecipientHandlerInterface.php, line 18
Class
- RecipientHandlerInterface
- Interface for Simplenews Recipient Handler Classes.
Namespace
Drupal\simplenews\RecipientHandlerCode
public function addToSpool();