public function Token::getName 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::getName()
Getter.
Return value
string|\Drupal\Component\Render\MarkupInterface The label of the token.
File
- modules/
core_event_dispatcher/ src/ ValueObject/ Token.php, line 140
Class
- Token
- Token ValueObject.
Namespace
Drupal\core_event_dispatcher\ValueObjectCode
public function getName() {
return $this->name;
}