Bad judgment module: For all your second thought needs!
drupal.org/project/bad_judgementPosted Jun 19, 2013, 4:33 PM UTC
145
Posted Jun 19, 2013, 4:33 PM UTC
It's Drupal 9 compatible! So ahead of the curve!
Just for the record, I <3 this image.
From the install:
function bad_judgement_enable() {
drupal_set_message(t('Dude. Really?'), 'error');
}
function bad_judgement_help($path, $arg) {
switch ($path) {
case 'admin/help#bad_judgement':
return t('Trust me. You need help.');
}
}
LOL
Older versions actually included an XSS exploit to rickroll the module administration screen from the .info file. Hardcore.
Random trivia: Bad Judgement originally started as a joke amongst a few devs who were writing modules that were really, really terrible ideas. 'bad judgement' would be listed as a dependency.
Then, John Albin took the challenge and actually WROTE Bad Judgement. Among other things, it includes a SimpleTest that always fails.