It's better when it's simple
Learn about DokuWiki
Follow us on Facebook, Twitter and other social networks.
This event is signalled by getSearchFormHTML() in inc/Ui/Search.php before form on the search page is displayed, handlers can use it to add/remove/change elements in that form.
A \dokuwiki\Form\Form element is passed as data.