Add comments about alphabetical sorting in UpdateRegistry and test

Created on 20 March 2020, over 4 years ago
Updated 26 June 2024, 2 months ago

Problem/Motivation

This comes from a suggestion in #3115223: Remove Stable as a base theme of core themes β†’
\Drupal\Core\Update\UpdateRegistry::getAvailableUpdateFunctions() returns post_updates to be run as an alphabetically sorted array. There is functionality that relies on this sorting and it is not documented in that the returned list is alphabetical.

Proposed resolution

Update the return statement documentation for \Drupal\Core\Update\UpdateRegistry::getAvailableUpdateFunctions().
Add comments to the tests as well.

Remaining tasks

Review

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
ExtensionΒ  β†’

Last updated 5 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

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

Merge Requests

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