You are here

public function TokensReplacementEvent::getTokens in Hook Event Dispatcher 8

Getter.

An array of tokens to be replaced. The keys are the machine-readable token names, and the values are the raw [type:token] strings that appeared in the original text.

Return value

array The tokens.

File

src/Event/Token/TokensReplacementEvent.php, line 127

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Token

Code

public function getTokens() {
  return $this->tokens;
}