You are here

public function TokensReplacementEvent::getOptions in Hook Event Dispatcher 8

Getter.

An associative array of options for token replacement; see \Drupal\Core\Utility\Token::replace() for possible values.

Return value

array The raw options given inside the hook_tokens.

File

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

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Token

Code

public function getOptions() {
  return $this->options;
}