You are here

function bad_install in Coder 8.2

Same name in this branch
  1. 8.2 coder_sniffer/Drupal/Test/bad/bad.install \bad_install()
  2. 8.2 coder_sniffer/Drupal/Test/bad/bad.module \bad_install()
Same name and namespace in other branches
  1. 8.3 tests/Drupal/bad/bad.install \bad_install()
  2. 8.3 tests/Drupal/bad/bad.module \bad_install()
  3. 7.2 coder_sniffer/Test/bad/bad.install \bad_install()
  4. 7.2 coder_sniffer/Test/bad/bad.module \bad_install()
  5. 8.3.x tests/Drupal/bad/bad.install \bad_install()
  6. 8.3.x tests/Drupal/bad/bad.module \bad_install()

Implements hook_install().

File

coder_sniffer/Drupal/Test/bad/bad.module, line 12
Bad examples of install hooks in a module file.

Code

function bad_install() {
  return TRUE;
}