Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
search.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2022 at 02:14 UTC
Updated:
24 Feb 2022 at 02:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostComment #4
andypostRemove leftover usage
Comment #5
andypostComment #6
longwaveOne more:
Comment #7
andypostThanks, fixed!
Comment #9
andypostlooks unrelated failure
Comment #10
longwaveThanks, this looks ready to go.
Comment #11
quietone commentedI agree I applied the patch and checked didn't find any occurrences of the removed functions.
Comment #12
quietone commentedChecking my review. :-)
The patch is removing a deprecations from \Drupal\search\SearchIndex\SearchIndex.php, so changing title.
The following greps returned nothing, so it is getting all the deprecations from the search module.
I did notice that the Drupal deprecation policy does not have a section for removing/changing a constructor parameter. That has no impact on this being committed. I'llresearch that later.
This looks ready to commit to me. I'll wait 24 hours to allow for comments.
Added credit for longwave
Comment #13
xjmLooks good to me too. The one "gotcha" I checked for was the removal of a hook invocation without a corresponding deprecation of the hook definition, but I confirmed that the invocation has just been moved to
core/modules/search/src/SearchTextProcessor.phpinstead. The hook is still an API and still in use.Comment #14
xjmI added https://www.drupal.org/about/core/policies/core-change-policies/drupal-d... -- I guess we never did before because it falls under the "best-effort deprecation warnings for internal code" category.
Comment #16
quietone commentedCommitted to 10.0.x.
Thank you!
xjm and I worked together on a call on this; adding credit for xjm and myself.