You are here

public function TokensReplacementEvent::getRawData in Hook Event Dispatcher 8

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

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

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Token

Code

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