By newdru on
It appears that certain modules "install' default views when you activate them.
However, when i look in the actual views table, the only views that have entries are the ones i manually create.
So where are these default views stored?
If not in a table, is it stored in a global variable?
Is it only created once or does it have to be regenerated from scratch every time it is displayed in views panel or used?
thanks in advance
Comments
the modules that expose
the modules that expose themselves to views.module have a views_somemodule.inc file in the module folder.
for an example, the audio.module has within it, a views_audio.inc file.
This may help you discover what you seek.
These views are not 'stored'
These views are not 'stored' anywhere, they are provided by code. There are some benefits and disadvantages to them, one of which is that default views can't benefit from amount of caching, but they also don't have to perform some database lookups to get their information. They don't get created and put into the database at all unless you 'add' them in which case your view that's in the database will now override the one that's used in code.
-- Merlin
[Point the finger: Assign Blame!]
[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]
-- Merlin
[Read my writing: ehalseymiles.com]
[Read my Coding blog: Angry Donuts]
thanks
i appreciate the info