You are here

public function TokensReplacementEvent::getRawData 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::getRawData()

Getter.

An associative array of data objects to be used when generating replacement values, as supplied in the $data parameter to \Drupal\Core\Utility\Token::replace().

Return value

array The raw data given inside the hook_tokens.

File

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

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\core_event_dispatcher\Event\Token

Code

public function getRawData() : array {
  return $this->data;
}