MediaWiki REL1_35
MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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" 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: