You are here

public function TemplateInterface::recipientTypes in Workbench Email 8

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

Returns the ordered collection of recipient type plugin instances or an individual plugin instance.

Parameters

string $instance_id: (optional) The ID of a recipient type plugin instance to return.

Return value

\Drupal\workbench_email\RecipientTypePluginCollection|\Drupal\workbench_email\Plugin\RecipientTypeInterface Either the recipient type collection or a specific recipient type plugin instance.

1 method overrides TemplateInterface::recipientTypes()
Template::recipientTypes in src/Entity/Template.php
Returns the ordered collection of recipient type plugin instances or an individual plugin instance.

File

src/TemplateInterface.php, line 81

Class

TemplateInterface
Provides an interface for defining Email Template entities.

Namespace

Drupal\workbench_email

Code

public function recipientTypes($instance_id = NULL);