FAPI execution order cheat sheet
I'm trying to figure out just what order various FAPI elements get executed in (#process, #after_build, #validate, #submit, #access, etc.) so I can determine just where I want to insert my custom functions, and I got to wondering if anyone has put together a list of the order things those elements get fired? It would be a very handy little cheat sheet if it exists. What would be really handy is a flow chart of the FAPI processing -- an illustration of exactly what happens and in what order -- but I'd settle for a simple list. Just wondering if anyone has already done this for a training program or something (or maybe has at least the beginnings of something like this) and would be willing to share :-) Thanks! Karen
The execution order of these functions is discussed in the FAPI chapter of the "Pro Drupal Development" book, but I'm not sure if this information is available publicly somewhere else. Florian
Karen, a FAPI flowchart and/or cheat sheet is a great idea. Hopefully one of the FAPI experts will be willing to proof read such a thing if others create a draft.
participants (3)
-
Chris Johnson -
Florian Loretan -
Karen Stevenson