Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hook_system_info_alter() ought to do it.
Comment | File | Size | Author |
---|---|---|---|
#20 | 786208-bad_judgement_php-d6-diff.patch | 228 bytes | deekayen |
#20 | 786208-bad_judgement_php-d7-diff.patch | 221 bytes | deekayen |
#19 | 786208-bad_judgement_php-d6.patch | 332 bytes | deekayen |
#19 | 786208-bad_judgement_php-d7.patch | 341 bytes | deekayen |
#2 | php.patch | 666 bytes | catch |
Comments
Comment #1
JohnAlbinLOL!
You're right! Of course, you would have to enable this module in order to get the dependency inserted via that hook.
Comment #2
catchDetails, details.
edit: OMG patch size!
Comment #3
mbutcher CreditAttribution: mbutcher commentedThis is the greatest patch I have ever seen in my entire life.
In the true spirit of this module, I'm marking it reviewed and tested even though I neither reviewed it nor tested it.
Comment #4
Dave Reid+1lolz
Comment #5
seutje CreditAttribution: seutje commentedthis is no coincidence, greater powers are at work here
Comment #6
SeanBannister CreditAttribution: SeanBannister commentedLMAO, awesome!
Comment #7
greggles+1. will buy again. A truly positive addition to the module space.
Comment #8
Nick Lewis CreditAttribution: Nick Lewis commentedGuys I dunno. What about the themers?
Comment #9
moshe weitzman CreditAttribution: moshe weitzman commentedNice.
If you like this sort of humor, join us at Drupal for Evil
Comment #10
Nick Lewis CreditAttribution: Nick Lewis commentedDon't trump me Moshe.
Comment #11
Nick Lewis CreditAttribution: Nick Lewis commentedredintegro est recipero
Comment #12
Nick Lewis CreditAttribution: Nick Lewis commented...
Comment #13
Nick Lewis CreditAttribution: Nick Lewis commentedThere's known workaround where module developers can directly edit the module to make this work. Good work team.
Comment #14
JohnAlbinNow that the consensus is to not commit this, I've committed it.
http://drupal.org/commitlog/commit/14044/ed4c6ecd16876af0b6524225e27a381...
Comment #15
Nick Lewis CreditAttribution: Nick Lewis commentedI believe we need a feature that rebuilds theme cache on every page load. I'm putting it in this issue since this is where the discussion is happening.
Comment #16
gregglesCAUTION, CAUTION.
IRONY ALERT: there are at least two projects that do that already.
Comment #17
dmitrig01 CreditAttribution: dmitrig01 commentedNick, I really think we need it rebuilt *twice* each page load - what if I make some changes while the page is loading? I don't want those not to propagate through...
Comment #18
mbutcher CreditAttribution: mbutcher commented+1
Oh, and I have something else to say. The name of this module should be changed to something else. I don't know what though.
Comment #19
deekayen CreditAttribution: deekayen commentedHere's some stuff you can add to your drush make file:
Example stub:
Comment #20
deekayen CreditAttribution: deekayen commentedI just learned core patches in drush make are regular diffs, not git ones.
Comment #21
RobLoachPHP module no longer exists in Drupal 8. You're welcome.
Discussion about having it use Bad Judgement: #2089647: Improve documentation about PHP security implication
Comment #22
greg.1.anderson CreditAttribution: greg.1.anderson commentedc.f. #2106561: Missing dependency on bad judgement
Comment #23
laboratory.mike#15:
Fixing here: #2455085: No Hooks?
Because adding hooks totally has to do with theming. And this thread.