Should the name and the contents of the recently added schemafile also be adapted in the copy of the sub-theme?

Created on 11 August 2025, 12 days ago

Problem/Motivation

Recently in one of the latest releases a extra schema file was added. In creating a sub-theme by copying and renaming the solo_subtheme folder, should this schema file also be renamed and the contents adapted?

Steps to reproduce

Proposed resolution

In this β†’ documentation file there should be maybe an extra step to adapt this schema file.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡§πŸ‡ͺBelgium ericvl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ericvl
  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX

    Hello,

    Yes, it’s recommended, but if you don’t do it, your sub-theme will still work.

    To update it:
    Copy config/schema/solo_subtheme.schema.yml to your sub-theme’s config/schema/subtheme/ directory and rename the file to:

    your_new_subtheme_machine_name.schema.yml
    Inside the file, change:

    solo_subtheme.settings:
      type: mapping
      label: 'Solo sub-theme settings'
      mapping:

    to:

    your_new_subtheme_machine_name.settings:
      type: mapping
      label: 'Solo sub-theme settings'
      mapping:

    Best wishes,
    Alaa

  • πŸ‡§πŸ‡ͺBelgium ericvl

    You're great, Alaa.
    Thank you for the quick response.
    If you find the time, could you adapt the file I mentioned in the "Proposed resolution". It will be clear then for everybody.
    Here is the link again. β†’

  • πŸ‡§πŸ‡ͺBelgium ericvl

    Great, thank you again.

  • πŸ‡§πŸ‡ͺBelgium ericvl

    Sorry to say so, Alaa. But I think there is still an error in the documentation.

    Below of the added text for the schema file there is a next step.

    Step 8: Update the theme file:

    Search for:
    "Replace it with $suggestion = str_replace('your_old_theme_machine_name_', 'fun_', $suggestion);"

    and replace by
    "Replace it with $suggestion = str_replace('solo_', 'fun_', $suggestion);"
    Sorry to bother again.
    Thank you

Production build 0.71.5 2024