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.
Problem/Motivation
Drupal Core now has a capability to generate a theme from another theme
https://www.drupal.org/docs/core-modules-and-themes/core-themes/starterk...
Steps to reproduce
Proposed resolution
- Make Basic a starterkit theme
- Remove all custom drush duplicate stuff
- Add documentation to README on how to use
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork basic-3337052
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
occupantComment #4
joelpittetWe are going to remove the field.html.twig to the default stable. Which removes this code and BEM class syntax
Comment #5
joelpittetWhen generating the starterkit it copied over
final class StarterKit
by accident it seems because that would fail as it's the same namespace.Comment #7
joelpittetFixed, thanks for your help @occupant!
Comment #8
occupantRe #5, the command I used was
php core/scripts/drupal generate-theme basic --path themes/custom
as per the docs.Comment #9
joelpittet