You are here

public function TemplateInterface::getRecipients in Workbench Email 8

Same name and namespace in other branches
  1. 2.x 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_email

Code

public function getRecipients(ContentEntityInterface $entity);