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.
Turns out we could rely on drush_core_drupal_directory
to get the Radix path without enabling Radix.
No more wtf, no more support requests due to this, no more sad pandas.
Comments
Comment #2
shadcn CreditAttribution: shadcn commentedThanks. This is a nice find.
Comment #3
shadcn CreditAttribution: shadcn commentedComment #5
shadcn CreditAttribution: shadcn commentedCapi, let's talk about this again. This is giving errors on ubuntu and mac.
Target 'radix' not found
.Comment #6
danielbeeke CreditAttribution: danielbeeke commentedHello,
We are using the dev version. Without enabling the theme we get errors in the path.
Notice the double slash in "competence_thermometer//kits/default"
Enabling the theme seems to make it work.
Comment #7
shadcn CreditAttribution: shadcn commentedThanks for the report. We will look into it. Your subtheme is working fine now?
Comment #8
danielbeeke CreditAttribution: danielbeeke commentedYes works fine!
Comment #9
barraponto CreditAttribution: barraponto commentedWhat version of drush are you all using?
Comment #10
barraponto CreditAttribution: barraponto commentedComment #11
danielbeeke CreditAttribution: danielbeeke commenteddrush version 5.10.0
hmm rather old, isn't it?
Comment #12
barraponto CreditAttribution: barraponto commentedYeah. Maybe I should check Drush version. But that function does exist in 5.10.
Comment #13
barraponto CreditAttribution: barraponto commentedJust tried it again with drush 8.0-dev and it does work without enabling Radix theme.
Should we warn about version compatibilities?
Comment #14
shadcn CreditAttribution: shadcn at Chapter Three commentedClosed as outdated. Feel free to reopen if not. Thank you.