[11.x] Require array argument for AddCssCommand

Created on 5 February 2023, almost 2 years ago
Updated 18 March 2024, 9 months ago

Problem/Motivation

Command string argument been deprecated in πŸ“Œ Improve Drupal\Core\Ajax\AddCssCommand to accept an array of CSS assets Fixed

There's few @todo pointing to the issue when needs clean-up

Also core/misc/ajax.js should remove deprecation and always expect array

Proposed resolution

- fix, remove todo
- remove deprecation messages
- remove legacy tests

Remaining tasks

patch and commit

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
AjaxΒ  β†’

Last updated 3 days ago

Created by

πŸ‡«πŸ‡·France andypost

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024