From 35d6361b0890a9b6ae6ba17e6f1816aaab981773 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Wed, 14 Oct 2015 17:48:37 -0400 Subject: Issue #2550219 by Pravin Ajaaz, jhodgdon, Anybody: hook_user_cancel_methods_alter() should say 'access' rather than '#access' --- modules/user/user.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user/user.api.php b/modules/user/user.api.php index edc61bd3c..e732c146a 100644 --- a/modules/user/user.api.php +++ b/modules/user/user.api.php @@ -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. -- cgit v1.2.3