Change sitemap.settings.plugins.*.weight from type integer to weight

Created on 26 May 2025, about 1 month ago

Problem/Motivation

At time-of-writing, sitemap supports Drupal core 10.2 and higher.

When we drop support for 10.2, we can change sitemap.settings.plugins.*.weight from type integer to weight. The proposed guideline for semantic versioning for contributed projects in relation to Drupal core compatibility 🌱 Guidelines for semantic versioning and Drupal core support Active currently suggests dropping support in a minor release. (see also #3465600-4: Drop support for Drupal 9.x, 10.0 and 10.1 ).

(note this issue is split from 📌 Improve configuration schema and how we use it Active )

Proposed resolution

Change sitemap.settings.plugins.*.weight from type integer to weight in config/schema/sitemap.schema.yml

Remaining tasks

  1. Wait until we drop support for Drupal core 10.2
  2. Write a patch
  3. Review and feedback
  4. RTBC and feedback
  5. Commit
  6. Release

User interface changes

None.

API changes

None.

Data model changes

Config sitemap.settings.plugins.*.weight changes from type integer to weight.

📌 Task
Status

Postponed

Version

2.0

Component

Code

Created by

🇨🇦Canada mparker17 UTC-4

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

Comments & Activities

Production build 0.71.5 2024