public function TokensReplacementEvent::getReplacementValues in Hook Event Dispatcher 8
An associative array of replacement values.
Keyed by the raw [type:token] strings from the original text. The returned values must be either plain text strings, or an object implementing MarkupInterface if they are HTML-formatted.
Return value
string|\Drupal\Component\Render\MarkupInterface[] The replacement values for the token.
File
- src/
Event/ Token/ TokensReplacementEvent.php, line 202
Class
- TokensReplacementEvent
- Class TokensProvideEvent.
Namespace
Drupal\hook_event_dispatcher\Event\TokenCode
public function getReplacementValues() {
return $this->replacementValues;
}