You are here

public function TokenType::getType in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/ValueObject/TokenType.php \Drupal\core_event_dispatcher\ValueObject\TokenType::getType()

Getter.

Return value

string The token type like 'node'.

File

modules/core_event_dispatcher/src/ValueObject/TokenType.php, line 131

Class

TokenType
Token ValueObject.

Namespace

Drupal\core_event_dispatcher\ValueObject

Code

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