Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2013 at 06:05 UTC
Updated:
28 Jul 2013 at 07:21 UTC
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
Comment #1
joachim commentedI'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.
Comment #2
joachim commentedI'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.
Comment #3
joachim commentedClosing.