You are here

function TokenTrait::setTokenOption in Courier 8

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

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

File

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

Class

TokenTrait
Provides an implementation of TokenInterface.

Namespace

Drupal\courier

Code

function setTokenOption($option, $value) {
  $this->token_options[$option] = $value;
  return $this;
}