MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onImportSources (&$importSources) | |
This hook is called when reading from the $wgImportSources configuration variable. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ImportSources" to register handlers implementing this interface.
Definition at line 12 of file ImportSourcesHook.php.
MediaWiki\Hook\ImportSourcesHook::onImportSources | ( | & | $importSources | ) |
This hook is called when reading from the $wgImportSources configuration variable.
This can be used to lazy-load the import sources list.
array | &$importSources | The value of $wgImportSources. Modify as necessary. See \MediaWiki\MainConfigSchema::ImportSources. |
Implemented in MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.