public function TemplateInterface::getRecipients in Workbench Email 2.x
Same name and namespace in other branches
- 8 src/TemplateInterface.php \Drupal\workbench_email\TemplateInterface::getRecipients()
Calculates recipients.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: Entity being sent.
Return value
array Array of email addresses.
1 method overrides TemplateInterface::getRecipients()
- Template::getRecipients in src/
Entity/ Template.php - Calculates recipients.
File
- src/
TemplateInterface.php, line 111
Class
- TemplateInterface
- Provides an interface for defining Email Template entities.
Namespace
Drupal\workbench_emailCode
public function getRecipients(ContentEntityInterface $entity);