By kim.pepper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.1.x
Introduced in version:
9.1.0
Issue links:
Description:
Search text process has been moved to a service.
| Before | After |
|---|---|
search_index_split() |
\Drupal::service('search.text_processor')->tokenize() |
search_simplify() |
\Drupal::service('search.text_processor')->filterCharacters() |
search_expand_cjk() |
Moved to an internal method. |
search_invoke_preprocess() |
Moved to an internal method. |
Impacts:
Module developers
Comments
search_simplify()
should be
Example in the search module from the commit https://git.drupalcode.org/project/drupal/-/commit/640ea36#8c0a57e1ec75f...