< Manual:Hooks 
 
      | ManualLogEntryBeforePublish | |
|---|---|
| Available from version 1.33.0 (Gerrit change 496257) Lets extensions tag log entries when actions are performed | |
| Define function: | public static function onManualLogEntryBeforePublish( ManualLogEntry $logEntry ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"ManualLogEntryBeforePublish": "MyExtensionHooks::onManualLogEntryBeforePublish"
	}
}
 | 
| Called from: | File(s): logging/ManualLogEntry.php Function(s): publish | 
| Interface: | ManualLogEntryBeforePublishHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ManualLogEntryBeforePublish extensions.
Details
- $logEntry: ManualLogEntry object
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.