How to add extra link into dashboard side barCreated 4 years ago by dilusha100
There are several links in dashboard side bar ( By side bar I meant the black vertical bar in left side of the screen 😛 ). But I need to add some different links to that bar like some link to another site or short cut to frequent actions in admin panel.
So what is the way to achieve this.......
Hi! You can hook into an event and get the
ControlPanelBuilderinstance and add navigation like this:
\Anomaly\Streams\Platform\Ui\ControlPanel\Component\Navigation\Event\GatherNavigationand then use
$builder = $event->getControlPanel();
You can add nav to it like this:
There is also an event fired later for sorting (you can sort from preferences too and it defaults to alpha-numeric):