Order Navigation Groups
To set the order of your navigation groups, use the setGroupsOrder
method in a service provider. The method accepts an array of group names in the order you want them to appear in the navigation.
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::setGroupsOrder([
'Getting Started',
'Advanced',
]);
}
To set the order of your navigation groups, use the setGroupsOrder
method in a service provider. The method accepts an array of group names in the order you want them to appear in the navigation.
use AbdelElrafa\DocsPanel\DocsPanelServiceProvider;
public function register()
{
DocsPanelServiceProvider::setGroupsOrder([
'Getting Started',
'Advanced',
]);
}