You are here

public function UserCancelEvent::getMethod in Hook Event Dispatcher 3.x

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

Get method.

Return value

string The account cancellation method.

File

modules/user_event_dispatcher/src/Event/User/UserCancelEvent.php, line 76

Class

UserCancelEvent
Class UserCancelEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

public function getMethod() : string {
  return $this->method;
}