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

8.0.x
Dries Buytaert 2011-04-04 18:22:10 +02:00
parent e45c147896
commit 094cc89d4c
1 changed files with 4 additions and 0 deletions

View File

@ -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.