You are here

public function TokensReplacementEvent::getType in Hook Event Dispatcher 8

Getter.

The machine-readable name of the type (group) of token being replaced, such as 'node', 'user', or another type defined by a hook_token_info() implementation.

Return value

string The type.

File

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

Class

TokensReplacementEvent
Class TokensProvideEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Token

Code

public function getType() {
  return $this->type;
}