public function TokenTrait::setTokenOption in Courier 2.x
Same name and namespace in other branches
- 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\courierCode
public function setTokenOption($option, $value) {
$this->token_options[$option] = $value;
return $this;
}