Problem/Motivation
Now that system lists are all services system_list_reset() is pointless. Once the container is rebuilt the lists are reset.
The system_list() function is already deprecated.
Proposed resolution
Deprecate the method. If contrib or custom is using it and its functionality is really required they can either rebuild the container or call each \Drupal::service('extension.list.TYPE')->reset() as necessary.
Remaining tasks
User interface changes
None
API changes
Deprecate system_list_reset()
Data model changes
None
Release notes snippet
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3017105-2.patch | 4.91 KB | alexpott |
Comments
Comment #2
alexpottComment #3
johnwebdev commentedLooks good to me.
Comment #4
catchCommitted 344522d and pushed to 8.7.x. Thanks!
Comment #6
alexpottI've updated https://www.drupal.org/node/2709919