public function TokensReplacementEvent::getRawData in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 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\TokenCode
public function getRawData() : array {
return $this->data;
}