public function contextBackend()
 {
     $this->registerGatePermissions();
     $this->extendBladeTags();
     $navigation = \Navigation::getPages()->findById('system');
     $navigation->setFromArray([['id' => 'users', 'title' => 'users::core.title.list', 'url' => route('backend.user.list'), 'permissions' => 'user::list', 'priority' => 200, 'icon' => 'user'], ['id' => 'roles', 'title' => 'users::role.title.list', 'url' => route('backend.role.list'), 'permissions' => 'role::list', 'priority' => 300, 'icon' => 'group']]);
 }
 public function contextBackend()
 {
     $root = \Navigation::addPage(['id' => 'pages', 'title' => 'pages::core.title.pages.list', 'url' => route('backend.page.list'), 'permissions' => 'page::list', 'priority' => 100, 'icon' => 'sitemap']);
     if ($page = \Navigation::getPages()->findById('design')) {
         $page->addPage(['id' => 'layouts', 'title' => 'pages::core.title.layouts.list', 'url' => route('backend.layout.list'), 'permissions' => 'layout::list', 'priority' => 100, 'icon' => 'desktop']);
     }
 }
 public function contextBackend()
 {
     if ($navigation = \Navigation::getPages()->findById('design')) {
         $navigation->setFromArray([['id' => 'snippets', 'title' => 'widgets::snippet.title.list', 'url' => route('backend.snippet.list'), 'permissions' => 'snippet::list', 'priority' => 200, 'icon' => 'cutlery'], ['id' => 'widgets', 'title' => 'widgets::core.title.list', 'url' => route('backend.widget.list'), 'permissions' => 'widget::list', 'priority' => 300, 'icon' => 'cubes']]);
     }
 }