[development] Theme('confirm'...) in 4.7?

Dries Knapen dries.knapen at versateladsl.be
Mon Nov 28 20:26:19 UTC 2005


> It seems theme('confirm'...) has disappeared in HEAD. I assume this  
> is meant
> to be replaced with a form. An easy enough change, but I just  
> thought I
> would confirm before I go too far down that road.

This is now done by confirm_form()
http://drupaldocs.org/api/head/function/confirm_form

There are several examples of how to use this function in core  
(comment.module, node.module, menu.module, taxonomy.module, ...)

Maybe this should be mentioned in the documentation somewhere?



More information about the development mailing list