You are here

protected property Template::$recipient_types in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/Entity/Template.php \Drupal\workbench_email\Entity\Template::recipient_types

Configured recipient types for this template.

An associative array of recipient types assigned to the email template, keyed by the instance ID of each recipient type and using the properties:

  • id: The plugin ID of the recipient type plugin instance.
  • provider: The name of the provider that owns the recipient type.
  • status: (optional) A Boolean indicating whether the recipient type is enabled for the email template. Defaults to FALSE.
  • settings: (optional) An array of configured settings for the recipient type.

Use Template::recipientTypes() to access the actual recipient types.

Type: array

File

src/Entity/Template.php, line 106

Class

Template
Defines the Email Template entity.

Namespace

Drupal\workbench_email\Entity

Code

protected $recipient_types = [];