Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
I wrote some custom processor plugins which depends on WidgetOrderPluginBase a while ago. https://www.drupal.org/commitlog/commit/70809/09ee8c651dcfa41affd17aae88... call to sortResults. The arguments of sortResults does not match the WidgetOrderProcessorInterface.
Proposed resolution
I saw the new SortProcessorInterface. Is WidgetOrderPluginBase deprecated in favour of it?
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | 2731347-6.patch | 2.13 KB | borisson_ |
Comments
Comment #2
borisson_Yes, the old interface was changed and is removed. We need to change that to fix #2656668: Facet's results sorting with multiple sorts..
Comment #5
webflo CreditAttribution: webflo at UEBERBIT GmbH commentedLooks like we should remove the SortProcessorInterface altogether?. Hmm no, makes no sense.Comment #6
borisson_Yeah, that makes more sense.
Comment #7
borisson_As far as I can see, nothing really uses the ::sort method any more. So I think we can remove this. The tests also seem to pass still and I think that should prove that this patch is ok. Committed this. Thanks @webflo!