Merge "Update Vue to 3.5.13"
[mediawiki.git] / includes / api / Hook / ApiRsdServiceApisHook.php
blob45871cd6cc438f7d1e0d31d0b21bcec1fd8e5cca
1 <?php
3 namespace MediaWiki\Api\Hook;
5 /**
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "ApiRsdServiceApis" to register handlers implementing this interface.
9 * @stable to implement
10 * @ingroup Hooks
12 interface ApiRsdServiceApisHook {
13 /**
14 * Use this hook to add or remove APIs from the RSD services list. Each service
15 * should have its own entry in the $apis array and have a unique name, passed as
16 * key for the array that represents the service data. In this data array, the
17 * key-value-pair identified by the apiLink key is required.
19 * @since 1.35
21 * @param array &$apis Array of services
22 * @return bool|void True or no return value to continue or false to abort
24 public function onApiRsdServiceApis( &$apis );