Public Targets and Menu Placement
Purpose
Public target records are the bridge between frontend owners and Menu Manager.
Target provider
An addon can expose a provider function, usually from `src/public_targets.php`. The provider tells the system how to list and resolve targets.
Target record
A target record should be readable by an admin:
- provider and provider label
- target type
- target identifier
- target label
- description
- route or URL preview
- target state
- availability
- metadata
- access requirements when applicable
Menu Manager's job
Menu Manager stores and renders navigation. It should not discover addon pages by reading addon tables directly, and it should not render another addon's content.
Addon owner's job
The addon should provide accurate target records. If a page is archived or a target is unavailable, the target record should say so.
Good target labels
Use labels a human can understand. `Support Tickets: submit/check ticket` is useful. `route_public_lookup_handler_v2_final` is how a menu starts sounding haunted.
Updated: 2026-05-07 02:18:09