public function Token::getToken in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/ValueObject/Token.php \Drupal\core_event_dispatcher\ValueObject\Token::getToken()
Getter.
Return value
string The token name like 'url'.
File
- modules/
core_event_dispatcher/ src/ ValueObject/ Token.php, line 150
Class
- Token
- Token ValueObject.
Namespace
Drupal\core_event_dispatcher\ValueObjectCode
public function getToken() : string {
return $this->token;
}