974 B
974 B
SMW::Maintenance::AfterUpdateEntityCollationComplete
- Since: 3.1
- Description: Hook to allow to run other updates after the
updateEntityCollection.phpscript has finished processing the update of entity collation changes - Reference class:
updateEntityCollation.php
Signature
use MediaWiki\MediaWikiServices;
use SMW\Store;
use Onoi\MessageReporter\MessageReporter;
MediaWikiServices::getInstance()->getHookContainer()->register( 'SMW::Maintenance::AfterUpdateEntityCollationComplete', function( Store $store, MessageReporter $messageReporter ) {
return true;
} );
See also
- See the
ElasticFactory.phpfor an implementation example