LibraryDiscovery class is deprecated in Drupal 11

Created on 9 January 2025, 14 days ago

Problem/Motivation

The LibraryDiscovery class is deprecated in Drupal 11 and will be removed in Drupal 12

Proposed resolution

Replace the LibraryDiscoveryInterface parameter type hint with LibraryDiscoveryCollector and replace the clearCachedDefinitions() method with its parent clear() method.

https://www.drupal.org/node/3462970 β†’

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom simonp98

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