MediaWiki master
MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onLoadExtensionSchemaUpdates ( $updater)
 This hook is called during database installation and updates.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file LoadExtensionSchemaUpdatesHook.php.

Member Function Documentation

◆ onLoadExtensionSchemaUpdates()

MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook::onLoadExtensionSchemaUpdates ( $updater)

This hook is called during database installation and updates.

Do not use this hook with a handler that uses a "services" or "optional_services" option in its ObjectFactory spec. It is called in a context where the global service locator is not initialised.

Since
1.35
Parameters
DatabaseUpdater$updaterDatabaseUpdater subclass
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: