 view types the view type describes how this view is stored views is capable of having views entirely in code that are not in the database this allows modules to easily ship with views built in and it allows you to create a module to store your views for easy deployment between development and production servers normal normal views are stored in your database and are completely local to your system default default views are stored only in code and are not anywhere in your database they may be enabled or disabled but you may not completely remove them from your system you can override the view which will create a local copy of your view if you do this future updates to the version in code will not affect your view overridden overridden views are stored both in code and in the database while overridden the version that is in code is completely dormant if you revert the view the version in the database will be deleted and the version that is in code will once again be used you may store your views in code with the following procedure create a module to store the views add the function modulenameviewsdefaultviews  to this module export the view you wish to store in your module in code cut and paste that into the abovenamed function make sure the last line of the view is   views view name view  make sure the last line of the function is return views  after you make any changes be sure to clear the views cache  you may do this from the tools menu  