Problem/Motivation
This is possible since 9.3. See https://www.drupal.org/node/3253744
Steps to reproduce
Proposed resolution
Remaining tasks
Update the minimum Drupal Core version to 9.3.X
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3258992_8.patch | 3.95 KB | mkalkbrenner |
| #2 | 3258992.patch | 2.73 KB | heddn |
Issue fork facets-3258992
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
heddnComment #3
idebr commentedConsidering
\Drupal::requestStack()->getMainRequest();is available from 9.3.0, would this raise the minimum requirement for the Facets project to Drupal 9.3? If so, this should be changed in facets.info.ymlComment #4
heddnI think so. Yes, I'm pretty sure that is needed. Or alternatively, a version check could be added that calls one vs the other. Or a method_exists check could be used.
Comment #5
idebr commentedLet's update the minimum Drupal Core version to 9.3.x and postpone this issue until 9.2.x is no longer supported
Comment #6
mkalkbrennerDidn't we prepare anything here?
https://git.drupalcode.org/project/facets/-/commit/28ccbe9
Comment #7
mkalkbrennerComment #8
mkalkbrennerComment #9
heddnMostly the same approach but none of the changes are mine at this point so I think I can mark as RTBC.
Comment #11
mkalkbrennerComment #12
idebr commented