You are here

public function UserFormatNameAlterEvent::getName in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/user_event_dispatcher/src/Event/User/UserFormatNameAlterEvent.php \Drupal\user_event_dispatcher\Event\User\UserFormatNameAlterEvent::getName()

Get the name by reference.

Return value

string Name.

File

modules/user_event_dispatcher/src/Event/User/UserFormatNameAlterEvent.php, line 47

Class

UserFormatNameAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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