Install

Works with Drupal: ^10.1 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 42.97 KB
MD5: e1367a0201b9986d11cad39ad1d6e777
SHA-1: 45e494bb05c5528786c570fd91539f11d79905ad
SHA-256: 0aafbe67c46eb151569a15dd1dfd25a3512e010549dd152554e7c56079189155
Download zip 53.82 KB
MD5: a28c48cff6600b8d97576861320f2a92
SHA-1: 73d007078ef3b443350da3901bf3a02eba364528
SHA-256: 548f0b3f671d84fd6cc45da930af15e18dace7874bf52a9fd2a6d957b1674d94

Release notes

drush bs-tc no longer copies the parent theme's Components namespaces into a new child theme.

Upgrade notes

Child themes created with drush bs-tc: bs-tc no longer copies the parent theme's components: namespaces into the child theme's info.yml (#3628921). A child theme created with an earlier version can still have the copied paths. With Components 3.x, each path that does not exist logs a "not a directory" warning on every cache rebuild. To clean up a child theme:

  1. In the child theme's info.yml, check every path under components: namespaces:. The paths are relative to the child theme folder.
  2. Delete each path whose folder does not exist in the child theme. Keep every path whose folder exists, because the child theme uses it to add or override templates.
  3. Delete a namespace that has no paths left.
  4. Delete the components: key if it has no namespaces left.
  5. Run drush cr.

Templates in the parent theme's namespaces keep working after the cleanup, because Components gives a child theme the namespaces of its base themes.

Contributors (1)

pivica

Changelog

Issues: 1 issue resolved.

Changes since 2.0.0-alpha5:

Bug

  • #3628921 by pivica: bs-tc copies the parent's components namespaces into the child theme info file, so Components logs "not a directory" warnings
Created by: pivica
Created on: 15 Oct 2026 at 22:42 UTC
Last updated: 15 Oct 2026 at 22:43 UTC
Bug fixes

Other releases