protected static function menuLinkPanel()
    {
        // List one menu panel for each post type
        $panels =[];
        foreach(PostType::all() as $postType){
            $panels[] = [
                'label' => $postType->name,
                'belongsTo' => $postType->slug,
                'controller' => ($postType->hasCustomController() ? $postType->getCustomController() : 'PostController'),
                'search' => [
                    'label' => trans('base.search'),
                    'placeholder' => trans('base.searchPlaceholder'),
                    'url' => route('backend.post.menuPanelItems', ['keyword' => "", "postTypeSlug" => $postType->slug])
                ],
                'items' => [
                    'label' => trans('base.latest'),
                    'url' => route('backend.post.menuPanelItems', ["postTypeSlug" => $postType->slug])
                ],
            ];
        }
        return $panels;
    }