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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Haza created an issue. See original summary.

Haza’s picture

Issue summary: View changes
Status: Active » Needs work
FileSize
18.4 KB

I 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.

markhalliwell’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#2529840: Fix starterkits for 8.x
Haza’s picture

Status: Closed (duplicate) » Active

No 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

Haza’s picture

Rerolled a patch without the "fixing starterkit" part.

markhalliwell’s picture

Component: Code » Drush
Status: Active » Closed (duplicate)
Related issues: +#2261189: Add Drush support for creating sub-themes

Drush was removed temporarily due to time constraints and focus. Closing in favor of related issue (which contains the removed code).

markhalliwell’s picture

Status: Closed (duplicate) » Postponed

Actually, 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.

markhalliwell’s picture

Status: Postponed » Closed (duplicate)

All automatic stuff has been moved to 8.x in other issues, closing as dup of #2261189: Add Drush support for creating sub-themes.