Ages ago we had a request to build tests, and I think I've been asked about using this to build themes.

I'm now thinking that with plugins in D8 core, we should be able to generate scaffold for those.

Here's a rough list of components it would be nice to have generation for:

- hooks & callbacks
- theme functions
- test classes
- plugins
- README file

Comments

joachim’s picture

I've reworked the generating system to be more generic; this now opens the door to building components other than hooks and things other than modules.

joachim’s picture

I've added a generator to build themes. Currently it just deals with copying a TPL file into an existing theme, eg:

$ drush mtb mytheme node--article

will find the most specific node.tpl that already exists, and copy it to the named theme as node__article.tpl.php.

joachim’s picture

Status: Active » Fixed

Closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.