mediawiki-extensions-Scribunto/includes/Hooks/ScribuntoExternalLibraryPathsHook.php

20 lines
567 B
PHP
Raw Permalink Normal View History

<?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 );
}