Views API module declaration


/ Published in: PHP
Save to your folder(s)

This will trigger views to load the views in the file {module\_name}.views\_default.inc


Copy this code and paste it in your HTML
  1. function {module_name}_views_api() {
  2. return array('api' => 2.0);
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.