You are here

public function TokenTrait::getTokenOptions in Courier 2.x

Same name and namespace in other branches
  1. 8 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 44

Class

TokenTrait
Provides an implementation of TokenInterface.

Namespace

Drupal\courier

Code

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