You are here

media_vimeo.install in Media: Vimeo 7

Same filename and directory in other branches
  1. 6 media_vimeo.install
  2. 7.2 media_vimeo.install

Install, update and uninstall functions for the Media: Vimeo module.

File

media_vimeo.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Media: Vimeo module.
 */

/**
 * Implement hook_install().
 */
function media_vimeo_install() {
  return array();
}

/**
 * Implement hook_uninstall().
 */
function media_vimeo_uninstall() {
  drupal_load('module', 'media_vimeo');
  foreach (media_vimeo_variable_default() as $variable => $value) {
    media_vimeo_variable_del($variable);
  }
  return array(
    array(
      'success' => TRUE,
      'query' => "Deleted all variables in the Media: Vimeo namespace.",
    ),
  );
}

Functions