You are here

function TokenTrait::getTokenValues in Courier 8

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

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

3 calls to TokenTrait::getTokenValues()
Email::applyTokens in src/Entity/Email.php
Applies tokens to relevant fields.
TemplateCollection::validateTokenValues in src/Entity/TemplateCollection.php
Ensures tokens specified by context have values in this collection.
TestMessage::applyTokens in tests/modules/courier_test_message/src/Entity/TestMessage.php
Applies tokens to relevant fields.

File

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

Class

TokenTrait
Provides an implementation of TokenInterface.

Namespace

Drupal\courier

Code

function getTokenValues() {
  return $this->tokens;
}