Issue #2550219 by Pravin Ajaaz, jhodgdon, Anybody: hook_user_cancel_methods_alter() should say 'access' rather than '#access'

merge-requests/26/head
David Rothstein 2015-10-14 17:48:37 -04:00
parent d1bef535d7
commit 35d6361b08
1 changed files with 2 additions and 2 deletions

View File

@ -123,8 +123,8 @@ function hook_user_cancel($edit, $account, $method) {
* description is NOT used for the radio button, but instead should provide
* additional explanation to the user seeking to cancel their account.
* - access: (optional) A boolean value indicating whether the user can access
* a method. If #access is defined, the method cannot be configured as default
* method.
* a method. If access is defined, the method cannot be configured as the
* default method.
*
* @param $methods
* An array containing user account cancellation methods, keyed by method id.