You are here

public function TokenTrait::setTokenOption in Courier 2.x

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

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

File

src/TokenTrait.php, line 51

Class

TokenTrait
Provides an implementation of TokenInterface.

Namespace

Drupal\courier

Code

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