Download plugins/ExampleUI/Menu.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExampleUI/Menu.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/ExampleUI/Menu.php
-
curl -L -o Menu.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ExampleUI/Menu.php
447 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| namespace Piwik\Plugins\ExampleUI; | |
| use Piwik\Menu\MenuAdmin; | |
| class Menu extends \Piwik\Plugin\Menu | |
| { | |
| public function configureAdminMenu(MenuAdmin $menu) | |
| { | |
| $menu->addPlatformItem('ExampleUI_UiNotifications', $this->urlForAction('notifications'), $order = 10); | |
| } | |
| } | |