[drupal-devel] What does #post_process do?
Adrian Rossouw
adrian at bryght.com
Sat Nov 5 12:30:56 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05 Nov 2005, at 12:14 PM, Richard Archer wrote:
> Well, this bug doesn't require the form to be changed. It just
> needs to read a field from the form. So I don't see why or how
> #post_process can be used here.
Post process is used to make alterations to the form, after the form
has already been processed.
Use 1: Node Preview.
We can't display unfiltered data to the user from the _POST, so we
have a post_process on the node
form which adds the node_preview form element using the already
filtered values.
Use 2 : Image module.
There's a similar use case for the image module too, although james
might know better.
- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFDbKYAgegMqdGlkasRAqIGAKCcKsnj5L/elUgU+2r+/tRcZ3WWVwCgr4xW
benzowZnK5hvpfeRmFlI6nY=
=BuMG
-----END PGP SIGNATURE-----
More information about the drupal-devel
mailing list