public function TokenType::getType in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 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\ValueObjectCode
public function getType() : string {
return $this->type;
}