Update for core CSS library changes in 10.3.x

Created on 20 May 2024, 6 months ago
Updated 31 July 2024, 4 months ago

Problem/Motivation

On Drupal 10.3.0-beta1, some CSS libraries in the Drupal core system/base module have been moved to core/components.

See the change record at https://www.drupal.org/node/3432346 .

Affected libraries overriden by Stable are:

  • css/components/ajax-progress.module.css
  • css/components/autocomplete-loading.module.css
  • css/components/progress.module.css
  • css/components/tabledrag.module.css
  • css/components/tree-child.module.css

This leads to an error,

TypeError: array_key_first(): Argument #1 ($array) must be of type array, string given in array_key_first() (line 455 of core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php)

Steps to reproduce

* Install Drupal 10.3-0.beta1
* Install Stable theme and set as default.
* Visit home page in your favorite browser

Proposed resolution

Update stable.info.yml to override the libraries in their new locations.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States calebtr

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024