diff options
Diffstat (limited to 'core/Menu/MenuReporting.php')
-rw-r--r-- | core/Menu/MenuReporting.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/Menu/MenuReporting.php b/core/Menu/MenuReporting.php index c2d1801a8f..28fddd8313 100644 --- a/core/Menu/MenuReporting.php +++ b/core/Menu/MenuReporting.php @@ -63,6 +63,21 @@ class MenuReporting extends MenuAbstract } /** + * Should not be a public API yet. We probably have to change the API once we have another use case. + * @ignore + */ + public function addGroup($menuName, $defaultTitle, Group $group, $order = 50, $tooltip = false) + { + $this->menuEntries[] = array( + $menuName, + $defaultTitle, + $group, + $order, + $tooltip + ); + } + + /** * See {@link add()}. Adds a new menu item to the referrers section of the reporting menu. * @param string $menuName * @param array $url |