[development] user deletion
Gerhard Killesreiter
gerhard at killesreiter.de
Wed Mar 29 19:18:06 UTC 2006
John Handelaar wrote:
> John Handelaar wrote:
>
>> Gerhard Killesreiter wrote:
>>
>>> Not in this development cycle. As I explained it is easy enough to
>>> do what John wants using a rather small contrib module.
>>
>>
>> OK, I'm game.
>>
>> Someone got a pointer on how to override the user
>> editing form's delete button?
>
>
> Anyone?
>
> There's something in Forms API for this but
> there are no docs for form_alter anywhere.
http://api.drupal.org/api/HEAD/function/hook_form_alter
Basically you need to find the right form name (user_edit in this case)
and unset or alter the right form element.
Cheers,
Gerhard
More information about the development
mailing list