19 May
2008
19 May
'08
9:06 p.m.
On Mon, 19 May 2008 11:23:02 -0700, Earl Miles <merlin@logrus.com> wrote:
David Strauss wrote:
Great proposal.
One addition: a way to invalidate the cache of an info hook if your info hook does something like reading from a database table. This would be the case if, say, your module generates a configurable set of ad blocks.
You echoed my issue comment as well. It's very very important to be able to do this easily, IMO.
Ah, indeed! Make that 2 more attributes of an info hook: - It has a commonly-named rebuild function: drupal_rebuild_$singularNoun() (or something). - drupal_rebuild_$singularNoun() is called as part of the master cache reset function. --Larry Garfield