public function TokenTrait::setTokenValue in Courier 2.x
Same name and namespace in other branches
- 8 src/TokenTrait.php \Drupal\courier\TokenTrait::setTokenValue()
Implements \Drupal\courier\TokenInterface::setTokenValue().
File
- src/
TokenTrait.php, line 29
Class
- TokenTrait
- Provides an implementation of TokenInterface.
Namespace
Drupal\courierCode
public function setTokenValue($token, $value) {
$this->tokens[$token] = $value;
return $this;
}