tripal_genetic.install 507 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * Installation of the tripal genetic module
  5. */
  6. /**
  7. * Implements hook_disable().
  8. * Disable default views when module is disabled
  9. *
  10. * @ingroup tripal_genetic
  11. */
  12. function tripal_genetic_disable() {
  13. // Disable all default views provided by this module
  14. require_once("tripal_genetic.views_default.inc");
  15. $views = tripal_genetic_views_default_views();
  16. foreach (array_keys($views) as $view_name) {
  17. tripal_disable_view($view_name,FALSE,array('suppress_error' => TRUE));
  18. }
  19. }