coder_review_test.install in Coder 7.2
Same filename and directory in other branches
Test file for checking install and update hooks.
File
coder_review/tests/coder_review_test/coder_review_test.installView source
<?php
/**
* @file
* Test file for checking install and update hooks.
*/
/**
* Implements hook_update_X().
*/
function coder_review_test_update_7100() {
$ret = array();
$ret = update_sql("SELECT * FROM {node}");
return $ret;
}
/**
* Implements hook_install().
*/
function coder_review_test_install() {
drupal_install_schema('coder_review_test');
}
/**
* Implements hook_uninstall().
*/
function coder_review_test_uninstall() {
drupal_uninstall_schema('coder_review_test');
}
Functions
Name | Description |
---|---|
coder_review_test_install | Implements hook_install(). |
coder_review_test_uninstall | Implements hook_uninstall(). |
coder_review_test_update_7100 | Implements hook_update_X(). |