You are here

public function UserCancelMethodsAlterEvent::__construct in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/user_event_dispatcher/src/Event/User/UserCancelMethodsAlterEvent.php \Drupal\user_event_dispatcher\Event\User\UserCancelMethodsAlterEvent::__construct()

UserCancelMethodsAlterEvent constructor.

Parameters

array $methods: Array containing user account cancellation methods, keyed by method id.

File

modules/user_event_dispatcher/src/Event/User/UserCancelMethodsAlterEvent.php, line 27

Class

UserCancelMethodsAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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