public function ShareMessageInterface::setRuntimeContext in Share Message 8
Sets an additional runtime context for tokenizing.
Parameters
array $context: The context that will be used for following token replacements when this Share Message is shown.
1 method overrides ShareMessageInterface::setRuntimeContext()
- ShareMessage::setRuntimeContext in src/
Entity/ ShareMessage.php - Sets an additional runtime context for tokenizing.
File
- src/
ShareMessageInterface.php, line 93
Class
- ShareMessageInterface
- Define interface for ShareMessage entity.
Namespace
Drupal\sharemessageCode
public function setRuntimeContext(array $context);