You are here

function bad_requirements in Coder 7.2

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

Implements hook_requirements().

File

coder_sniffer/Test/bad/bad.install, line 51
Install, update and uninstall functions for the bad module.

Code

function bad_requirements() {

  // t() should not be used directly.
  $message = t('Message');
}