You are here

coder_review_test.install in Coder 7

Same filename and directory in other branches
  1. 7.2 coder_review/tests/coder_review_test/coder_review_test.install

Test file for checking install and update hooks.

File

coder_review/tests/coder_review_test/coder_review_test.install
View 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

Namesort descending Description
coder_review_test_install Implements hook_install().
coder_review_test_uninstall Implements hook_uninstall().
coder_review_test_update_7100 Implements hook_update_X().