- 🇩🇰Denmark ressa Copenhagen
Will Drupal 11 also use stable9, as Drupal 10 does currently? Or will there eventually be stable11 for Drupal 11, stable12 for Drupal 12, etc.?
If a theme hasn't provided base theme setting, the theme will currently fallback to extending stable
. This works when there's only one version of stable
. However, in Drupal 9, there will be multiple stable versions (Drupal 8 stable aka stable
and Drupal 9 stable aka stable9
).
When Drupal 9 ships, we can choose to either either:
stable
) to contrib and a new Stable theme (stable9
) to corestable
) in core and add a new Stable theme (stable9
to coreThis decision doesn't need to be made in this issue.
In either scenario, themes must explicitly define which version of the Stable theme it wants to extend, by specifying either base theme: stable
or base theme: stable9
.
this solution will also work for Drupal 10! 🥳
we could choose to alias stable
to stable8
for consistency. But this would merely be a cosmetic nice-to-have.
Deprecate the option to omit the base theme
property in theme *.info.yml
files. Provide warning for themes that haven't configured their base theme and provide them with instructions that if they want their theme behavior remain the same in Drupal 9, they would have to add base theme: stable
.
In Drupal 9, the base theme
property will be required.
stable
name or do we add stable8
as an alias, for consistency with future Drupal versions' stable9
, stable10
, et cetera?BaseThemeDefaultDeprecationTest
) + #41 (removes BaseThemeDefaultDeprecationTest
)None.
base theme
is no longer an optional property in a theme *.info.yml
file. Change record:
https://www.drupal.org/node/3066038 →
None.
In Drupal 8, if a theme does not specify a base them, Stable is chosen as the base theme automatically. Starting with Drupal 9, a new stable base theme will be added to each major version with the latest markup from modules, and the old stable base theme will be deprecated. To facilitate this and avoid unintended regressions, the automatic fallback is deprecated and the base theme
property will be required starting with Drupal 9.0.0. To remain compatible with Drupal 9, themes that use Stable as their base theme should explicitly add this to their info files. See the
change record on requiring the base theme property →
for examples.
Fixed
8.8 ⚰️
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Will Drupal 11 also use stable9, as Drupal 10 does currently? Or will there eventually be stable11 for Drupal 11, stable12 for Drupal 12, etc.?