feat: group the sidebar, add a settings hub and move account actions to a header user menu
This commit is contained in:
1 parent
acd8e78e55
commit
7095456d36
16 files changed
+487
-477
No files matched your search
@@ -40,6 +40,18 @@ class MenuBuilder extends AbstractMenuBuilder
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* The account menu behind the user's picture in the header: the other areas and logout.
|
||||
*/
|
||||
public function createUserMenu(array $options): ItemInterface
|
||||
{
|
||||
$menu = $this->createRootElement();
|
||||
|
||||
$this->addAccountItems($menu);
|
||||
|
||||
return $menu;
|
||||
}
|
||||
|
||||
public function createTeamerMenu(array $options): ItemInterface
|
||||
{
|
||||
return match ($this->resolveArea()) {
|
||||
|
||||
Reference in new issue
Block a user