Skip to content
Snippets Groups Projects
Commit 094cc89d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1101678 by Reidsy: hook_search_status() should return 0 if search category disabled.

parent e45c1478
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -107,6 +107,10 @@ function hook_search_reset() {
/**
* Report the status of indexing.
*
* The core search module only invokes this hook on active modules.
* Implementing modules do not need to check whether they are active
* calculating their return values.
*
* @return
* An associative array with the key-value pairs:
* - 'remaining': The number of items left to index.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment