12345678910111213141516171819202122 |
- <?php
- /**
- * @file
- * Installation of the tripal genetic module
- */
- /**
- * Implements hook_disable().
- * Disable default views when module is disabled
- *
- * @ingroup tripal_genetic
- */
- function tripal_genetic_disable() {
- // Disable all default views provided by this module
- require_once("tripal_genetic.views_default.inc");
- $views = tripal_genetic_views_default_views();
- foreach (array_keys($views) as $view_name) {
- tripal_disable_view($view_name,FALSE,array('suppress_error' => TRUE));
- }
- }
|