implements |
ParameterSourceInterface |
|---|
Self-discovering composition source. Aggregates slot proposals from the active dashboard's artifact tree.
Activation. This source only fires when the active artifact (per
Ui5ContextInterface::artifact()) implements Ui5DashboardInterface.
For any other artifact (App, Card endpoint, Action, …) the source
returns [] — composition is a dashboard-only concept.
Aggregation. The source walks the active dashboard's tree
in document order (dashboard → groups → tiles/cards), collecting each
SlotProposableInterface artifact's getSlotProposals() map. Conflicting proposals
for the same slot resolve first-write-wins; every subsequent
conflicting proposal is logged via LoggerInterface::error() with the
active dashboard's namespace+version, the slot name, the winning value
Reach. Today this source aggregates the dashboard root only. The aggregator helper is structured to accept any iterable of artifacts so it picks up the full tree without code change once the structural API lands.
| Methods | ||
|---|---|---|
public
|
__construct(Container $container, LoggerInterface $log)
|
# |
public
|
fill(array $slotNames): array
|
# |