MediaWiki  master
MediaWiki\Hook\WatchedItemQueryServiceExtensionsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\WatchedItemQueryServiceExtensionsHook:

Public Member Functions

 onWatchedItemQueryServiceExtensions (&$extensions, $watchedItemQueryService)
 Use this hook to create a WatchedItemQueryServiceExtension. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "WatchedItemQueryServiceExtensions" to register handlers implementing this interface.

Stable to implement

Definition at line 14 of file WatchedItemQueryServiceExtensionsHook.php.

Member Function Documentation

◆ onWatchedItemQueryServiceExtensions()

MediaWiki\Hook\WatchedItemQueryServiceExtensionsHook::onWatchedItemQueryServiceExtensions ( $extensions,
  $watchedItemQueryService 
)

Use this hook to create a WatchedItemQueryServiceExtension.

Since
1.35
Parameters
array&$extensionsAdd WatchedItemQueryServiceExtension objects to this array
WatchedItemQueryService$watchedItemQueryServiceService object
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: