diff --git a/core/modules/search/src/Plugin/SearchInterface.php b/core/modules/search/src/Plugin/SearchInterface.php index 5ab473b..ebf719e 100644 --- a/core/modules/search/src/Plugin/SearchInterface.php +++ b/core/modules/search/src/Plugin/SearchInterface.php @@ -88,10 +88,11 @@ public function execute(); * Executes the search and builds render arrays for the result items. * * @return array - * An array of render arrays of search result items (generally each item + * An array that has 'items' and 'cache_tags' arrays. The 'items' array is + * an array of render arrays of search result items (generally each item * has '#theme' set to 'search_result'), or an empty array if there are no - * results. The array should have a key 'items' with the actual results and - * a key cache_tags that holds the cache tags for the entities in the result. + * results. The 'cache_tags' array holds all the cache tags associated with + * the items in the 'items' array. */ public function buildResults();