[development] Attention Views API developers
dmitrig01 at gmail.com
Thu Sep 4 02:23:59 UTC 2008
Can't you make a default, so it's backwards-compatible?
On Wed, Sep 3, 2008 at 12:26 PM, Earl Miles <merlin at logrus.com> wrote:
> I have just checked in a major change to the Views API. Details can be found
> in the advanced help under api.html (and the handlers and plugins) pages,
> but the short version is that all handlers and plugins are now separated
> into their own files in order to conserve memory and not loaded unneeded
> code. This required implementing an API versioning system, and the upshot of
> this is that a new hook must be implemented by all Views modules:
> hook_views_api(). Without the proper use of this hook, the *.views.inc files
> will not be included.
> If your module includes its *.views.inc files itself or keeps its handlers
> in the .module file, this is wrong and will cause sites to crash.
More information about the development