Deprecate vocabulary weight property

Created on 20 October 2018, about 6 years ago
Updated 26 February 2024, 9 months ago

Problem/Motivation

The only place where vocabulary weight were used is sorting terms in term reference field #7684: Order taxonomy terms by vocabulary weight, then term weight β†’
While vocabularies were converted to config entities we removed this ability with follow-up #1821274: Add back ability to sort on vocabulary weight and name β†’
This feature was requested only once in #2969183: Vocabulary weight not honoured by Entity Reference fields β†’

Proposed resolution

Deprecate this property and remove its usage
The only usage is VocabularyListBuilder which will needs to stop extends DraggableListBuilder - this may affect BC policy and, probably, some contrib

Remaining tasks

- discuss deprecation (actually list builder and tests)
- create change record and patch
- commit

User interface changes

- vocabularies no longer sorted at admin/structure/taxonomy

API changes

- VocabularyListBuilder extends ConfigEntityListBuilder instead of DraggableListBuilder

Data model changes

taxonomy_vocabulary config no longer export weight property

πŸ“Œ Task
Status

Closed: works as designed

Version

11.0 πŸ”₯

Component
TaxonomyΒ  β†’

Last updated about 13 hours ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @xjm
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡«πŸ‡·France andypost

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024