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