< Manual:Hooks
| SpecialContributions::formatRow::flags | |
|---|---|
| Available from version 1.28.0 (Gerrit change 266670) Called before rendering a row for Special:Contributions. | |
| Define function: | public static function onSpecialContributions_formatRow_flags( IContextSource $context, $row, array &$flags ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"SpecialContributions::formatRow::flags": "MyExtensionHooks::onSpecialContributionsformatRowflags"
}
}
|
| Called from: | File(s): specials/pagers/ContribsPager.php |
| Interface: | SpecialContributions__formatRow__flagsHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialContributions::formatRow::flags extensions.
Details
$context: IContextSource object$row: Revision information from the database&$flags: List of flags on this row
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.