/ Published in: PHP
This snippet searches a subfolder at views/default_views for any files with a .inc extension. Place exported views code in a file in views/default_views to have it picked up and included by the function. This eliminates the mess of trying to keep several long exported views in a single file.