media_vimeo.install in Media: Vimeo 7
Same filename and directory in other branches
Install, update and uninstall functions for the Media: Vimeo module.
File
media_vimeo.installView 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
Name | Description |
---|---|
media_vimeo_install | Implement hook_install(). |
media_vimeo_uninstall | Implement hook_uninstall(). |