function bad_requirements in Coder 7.2
Same name in this branch
- 7.2 coder_sniffer/Test/bad/bad.install \bad_requirements()
- 7.2 coder_sniffer/Test/bad/bad.module \bad_requirements()
Same name and namespace in other branches
- 8.3 tests/Drupal/bad/bad.module \bad_requirements()
- 8.2 coder_sniffer/Drupal/Test/bad/bad.module \bad_requirements()
- 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');
}