You are here

function TokenTrait::getTokenOptions in Courier 8

Same name and namespace in other branches
  1. 2.x src/TokenTrait.php \Drupal\courier\TokenTrait::getTokenOptions()

Implements \Drupal\courier\TokenInterface::getTokenOptions().

2 calls to TokenTrait::getTokenOptions()
Email::applyTokens in src/Entity/Email.php
Applies tokens to relevant fields.
TestMessage::applyTokens in tests/modules/courier_test_message/src/Entity/TestMessage.php
Applies tokens to relevant fields.

File

src/TokenTrait.php, line 49
Contains \Drupal\courier\TokenTrait.

Class

TokenTrait
Provides an implementation of TokenInterface.

Namespace

Drupal\courier

Code

function getTokenOptions() {
  return $this->token_options;
}