Unfortunately no, you'll have to overwrite that method.
Nov 28, 2019
3
Level 6
Custom order of Resource Groups
Is there any way to set a custom order for navigation groups without using a custom navigation_blade.php?
Laravel\Nova\Nova:: groupedResources
/**
* Get the grouped resources available for the given request.
*
* @param Request $request
* @return array
*/
public static function groupedResources(Request $request)
{
return collect(static::availableResources($request))
->groupBy(function ($item, $key) {
return $item::group();
})->sortKeys()->all();
}
Please or to participate in this conversation.