feat: group the sidebar, add a settings hub and move account actions to a header user menu

This commit is contained in:
fromme committed 2026-11-12 11:13:30 +01:00
1 parent acd8e78e55
commit 7095456d36
16 files changed
+487 -477

No files matched your search

+12
View File
@@ -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()) {