| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\Scribunto\Hooks; |
| 4 | |
| 5 | /** |
| 6 | * This is a hook handler interface, see docs/Hooks.md in core. |
| 7 | * Use the hook name "ScribuntoExternalLibraries" to register handlers implementing this interface. |
| 8 | * |
| 9 | * @stable to implement |
| 10 | * @ingroup Hooks |
| 11 | */ |
| 12 | interface ScribuntoExternalLibrariesHook { |
| 13 | /** |
| 14 | * @param string $engine |
| 15 | * @param array &$extraLibraries |
| 16 | * @return bool|void True or no return value to continue or false to abort |
| 17 | */ |
| 18 | public function onScribuntoExternalLibraries( string $engine, array &$extraLibraries ); |
| 19 | } |