This event is signalled by getFulltextResultsHTML() in inc/Ui/Search.php for every fulltext search result, that is displayed. Handlers can use the BEFORE
event to add more information to the result remove existing elements. The AFTER
event is not called.
$data['resultHeader']
⇒ Array of strings which will be concatenated and inserted between the <dt></dt>
tags of a search result, forming its header.$data['resultBody']
⇒ Associative array of strings which will be concatenated, wrapped in <dd></dd>
tags (with the array key as class) and inserted after the above mentioned <dt></dt>
tags, forming the search result's body.meta
with the last modified data and (optionally) the number of hits and for the first 15 results there will be the snippet
key with the snippet$data['page']
⇒ ID of the page$data['position']
⇒ Position of the search result