Page MenuHomeWickedGov Phorge

OpenSearchUrlsHook.php
No OneTemporary

Size
659 B
Referenced Files
None
Subscribers
None

OpenSearchUrlsHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "OpenSearchUrls" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface OpenSearchUrlsHook {
/**
* This hook is called when constructing the OpenSearch description XML. Hooks
* can alter or append to the array of URLs for search & suggestion formats.
*
* @since 1.35
*
* @param array[] &$urls Array of associative arrays with URL element attributes
* @return bool|void True or no return value to continue or false to abort
*/
public function onOpenSearchUrls( &$urls );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 10:57 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/02/a09629470d4781822ed1e635182b
Default Alt Text
OpenSearchUrlsHook.php (659 B)

Event Timeline