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.
First, I am aware of #2467269: Fix various deprecated functions in bootstrap.drush.inc, but I was mainly focused on the "subtheme generation" part, that's why I open this issue. Feel free to close this one if you think they are too similar.
The subtheme generation is broken in the 8.x branch, mainly because of some deprecated function called, and also because the starterkit are not updated.
Comment | File | Size | Author |
---|---|---|---|
#5 | edit_issue_fix_subtheme-2592201-5.patch | 15.02 KB | Haza |
#2 | edit_issue_fix_subtheme-2592201-1.patch | 18.4 KB | Haza |
Comments
Comment #2
HazaI have done some work to update the drush file and some part of the starterkit files (now using yml, a foo.theme file instead of the template.php).
The patch is not fully working, but I guess it could work a start point. The subthemes are now generated, the yaml files are filled correctly, and a empty "foo.theme" file is generated.
Comment #3
markhalliwellComment #4
HazaNo offense, but I'll re-open this issue since there is much than "just" the starterkit fix on the patch on this issues. In fact, it is more focussed on fixing the generation process of the subtheme.
Fixes on the starterkit part is a duplication of #2529840: Fix starterkits for 8.x
Comment #5
HazaRerolled a patch without the "fixing starterkit" part.
Comment #6
markhalliwellDrush was removed temporarily due to time constraints and focus. Closing in favor of related issue (which contains the removed code).
Comment #7
markhalliwellActually, let's leave this open for 8.x (I'm not trying to discount work done, sorry). Will leave it postponed on that issue however.
Comment #8
markhalliwellAll automatic stuff has been moved to 8.x in other issues, closing as dup of #2261189: Add Drush support for creating sub-themes.