MediaWiki REL1_35
SearchResultProvideThumbnailHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Rest\Hook;
4
24 public function onSearchResultProvideThumbnail( array $pageIdentities, &$thumbnails );
25}
Called by REST SearchHandler in order to allow extensions to fill the 'thumbnail' field in rest searc...
onSearchResultProvideThumbnail(array $pageIdentities, &$thumbnails)
This hook is called when generating search results in order to fill the 'thumbnail' field in an exten...