Skip to content

Views in Code

Latest
Compare
Choose a tag to compare
@awasson awasson released this 24 Sep 02:11
· 1 commit to master since this release

Views in Code is a repository for the Views in a Drupal site, taking them out of the database and putting them into files which provides a fallback in case something goes horribly wrong during development and also provides a slight performance improvement since code runs faster from a file than from a database transaction.

The Views are exported into a file and then saved with a .view extension in the views_in_code/views directory. See the included example_view.view file to see the format of the exported view.

Note: You will need to rename this module views_in_code and install it in your modules directory (ie: /sites/all/modules/)