You are here

public function RecipientTypeInterface::prepareRecipients in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/Plugin/RecipientTypeInterface.php \Drupal\workbench_email\Plugin\RecipientTypeInterface::prepareRecipients()

Returns email address(s) matching this recipient type's configuration.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: Entity being transitioned.

\Drupal\workbench_email\TemplateInterface $template: Template being used.

1 method overrides RecipientTypeInterface::prepareRecipients()
RecipientTypeBase::prepareRecipients in src/Plugin/RecipientTypeBase.php
Returns email address(s) matching this recipient type's configuration.

File

src/Plugin/RecipientTypeInterface.php, line 64

Class

RecipientTypeInterface
Defines the interface for Recipient type plugins.

Namespace

Drupal\workbench_email\Plugin

Code

public function prepareRecipients(ContentEntityInterface $entity, TemplateInterface $template);