You are here

public function TokensReplacementEvent::getOptions in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Token/TokensReplacementEvent.php \Drupal\core_event_dispatcher\Event\Token\TokensReplacementEvent::getOptions()

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

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

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\core_event_dispatcher\Event\Token

Code

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