- YAML (
config/packages/nowo_dashboard_menu.yaml) — global behavior: database connection, cache, locales, icon prefix map, API, and dashboard admin options. - Database — individual menus and their items: code, name, CSS classes, permissions, depth, collapsible behavior, and more.
Menus are defined in the database — either through the admin dashboard or fixtures. YAML only configures global behavior shared across all menus.
Full example
config/packages/nowo_dashboard_menu.yaml
Root-level options
| Option | Type | Default | Description |
|---|---|---|---|
project | string|null | null | Optional identifier when multiple apps share the same database. |
doctrine | object | — | DBAL connection and table prefix. See Doctrine configuration. |
cache | object | — | Menu tree cache TTL and pool. See Cache configuration. |
icon_library_prefix_map | object | {bootstrap-icons: bi} | Maps full library names to short prefixes for ux_icon(). See Icon library. |
locales | string[] | [] | Enabled locales for menu item labels. See Locales and translations. |
default_locale | string|null | null | Fallback locale. See Locales and translations. |
permission_checker_choices | list or map | [] | Services for the “Permission checker” dropdown in the dashboard. |
api | object | — | JSON API toggle and path prefix. See JSON API configuration. |
dashboard | object | — | Admin dashboard options. See Dashboard configuration. |
Detailed sub-pages
Doctrine
DBAL connection, table prefix, and migration command.
Cache
Tree cache TTL and PSR-6 pool.
Icon library
Map full library names to short prefixes.
Locales
Enabled locales and fallback resolution.
Dashboard
Admin UI options, modals, CSS classes, rate limits.
JSON API
API toggle and path prefix.