You are here

public function UserCancelMethodsAlterEvent::setMethods in Hook Event Dispatcher 8

Set the new name.

Parameters

array $methods: Methods.

File

src/Event/User/UserCancelMethodsAlterEvent.php, line 47

Class

UserCancelMethodsAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\User

Code

public function setMethods(array $methods) {
  $this->methods = $methods;
}