You are here

public function UserFormatNameAlterEvent::setName in Hook Event Dispatcher 8

Set the new name.

Parameters

string $name: Name.

File

src/Event/User/UserFormatNameAlterEvent.php, line 58

Class

UserFormatNameAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\User

Code

public function setName($name) {
  $this->name = $name;
}