You are here

public function Token::getName in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x 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\ValueObject

Code

public function getName() {
  return $this->name;
}