media_vimeo.install 526 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the Media: Vimeo module.
  5. */
  6. /**
  7. * Implement hook_install().
  8. */
  9. function media_vimeo_install() {
  10. return array();
  11. }
  12. /**
  13. * Implement hook_uninstall().
  14. */
  15. function media_vimeo_uninstall() {
  16. drupal_load('module', 'media_vimeo');
  17. foreach (media_vimeo_variable_default() as $variable => $value) {
  18. media_vimeo_variable_del($variable);
  19. }
  20. return array(array('success' => TRUE, 'query' => "Deleted all variables in the Media: Vimeo namespace."));
  21. }