You are here

private property TokensReplacementEvent::$replacementValues in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/Event/Token/TokensReplacementEvent.php \Drupal\core_event_dispatcher\Event\Token\TokensReplacementEvent::replacementValues

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.

Type: string[]|\Drupal\Component\Render\MarkupInterface[]

File

modules/core_event_dispatcher/src/Event/Token/TokensReplacementEvent.php, line 30

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\core_event_dispatcher\Event\Token

Code

private $replacementValues = [];