You are here

public function UserCancelMethodsAlterEvent::__construct in Hook Event Dispatcher 8

UserCancelMethodsAlterEvent constructor.

Parameters

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

File

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

Class

UserCancelMethodsAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\User

Code

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