mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-24 13:53:08 +00:00
2ee5768ef5
Bug: T271026 Change-Id: If525e0f950b3a098162b19373edb3b443f559bf2
20 lines
567 B
PHP
20 lines
567 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\Scribunto\Hooks;
|
|
|
|
/**
|
|
* This is a hook handler interface, see docs/Hooks.md in core.
|
|
* Use the hook name "ScribuntoExternalLibraryPaths" to register handlers implementing this interface.
|
|
*
|
|
* @stable to implement
|
|
* @ingroup Hooks
|
|
*/
|
|
interface ScribuntoExternalLibraryPathsHook {
|
|
/**
|
|
* @param string $engine
|
|
* @param array &$extraLibraryPaths
|
|
* @return bool|void True or no return value to continue or false to abort
|
|
*/
|
|
public function onScribuntoExternalLibraryPaths( string $engine, array &$extraLibraryPaths );
|
|
}
|