aboutsummaryrefslogtreecommitdiffstats
path: root/includes/skins/Hook
diff options
context:
space:
mode:
authorGergő Tisza <tgr.huwiki@gmail.com>2024-08-09 14:26:09 +0200
committerGergő Tisza <tgr.huwiki@gmail.com>2024-08-09 14:26:09 +0200
commit40127b4258d619c759bff6d5d82144899eb94e19 (patch)
treeb769d2534b281ec278cc6ef932ced9b9275cd125 /includes/skins/Hook
parentcfc9cb4a9f1cd8a8176bc90e9430fddc4d280eea (diff)
downloadmediawikicore-40127b4258d619c759bff6d5d82144899eb94e19.tar.gz
mediawikicore-40127b4258d619c759bff6d5d82144899eb94e19.zip
skin: Improve documentation of SidebarBeforeOutput hook
Change-Id: Ie27014ab614963594ddb7752e1efda25f3bbcf66
Diffstat (limited to 'includes/skins/Hook')
-rw-r--r--includes/skins/Hook/SidebarBeforeOutputHook.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/skins/Hook/SidebarBeforeOutputHook.php b/includes/skins/Hook/SidebarBeforeOutputHook.php
index dd5979fa1f70..82994b855ce0 100644
--- a/includes/skins/Hook/SidebarBeforeOutputHook.php
+++ b/includes/skins/Hook/SidebarBeforeOutputHook.php
@@ -21,6 +21,7 @@ interface SidebarBeforeOutputHook {
*
* @param Skin $skin
* @param array &$sidebar Sidebar content. Modify $sidebar to add or modify sidebar portlets.
+ * See {@link Skin::buildSidebar()} for the structure of $sidebar.
* @return void This hook must not abort; it must not return value.
*/
public function onSidebarBeforeOutput( $skin, &$sidebar ): void;