function TokenInterface::setTokenOption in Courier 8
Same name and namespace in other branches
- 2.x src/TokenInterface.php \Drupal\courier\TokenInterface::setTokenOption()
Sets a token option.
Parameters
string $option: The token option name.
mixed $value: The token option value.
Return value
self Return this instance for chaining.
File
- src/
TokenInterface.php, line 57 - Contains \Drupal\courier\TokenInterface.
Class
- TokenInterface
- Interface for TokenTrait.
Namespace
Drupal\courierCode
function setTokenOption($option, $value);