From a5328b0f2cbd3a0bbb648ae50c5ff5c7e4fe6355 Mon Sep 17 00:00:00 2001 From: Ralf Lang Date: Sun, 24 May 2026 15:12:17 +0200 Subject: [PATCH] feat(form): document AssetManager page output integration Enhance AssetManager interface PHPDoc with guidance on both implementations (HtmlAssetManager for standalone, PageOutputAssetManager for page-integrated rendering). Add UPGRADING.md section documenting the integration pattern with usage examples. Remove "Asset collection has no integration" from known limitations. --- doc/UPGRADING.md | 68 +++++++++++++++++++++++++++++++- src/V3/Renderer/AssetManager.php | 30 ++++++++++++++ 2 files changed, 96 insertions(+), 2 deletions(-) diff --git a/doc/UPGRADING.md b/doc/UPGRADING.md index 527b158..5f8eb33 100644 --- a/doc/UPGRADING.md +++ b/doc/UPGRADING.md @@ -1228,6 +1228,72 @@ request's uploaded files tree. For `ImageVariable`, the key is --- +## Asset management and page output integration + +Form V3's `AssetManager` interface (`Horde\Form\V3\Renderer\AssetManager`) +collects JS/CSS dependencies declared by form controls during rendering. + +### Default behavior (standalone) + +By default, `HtmlRenderer` creates an `HtmlAssetManager` that renders +collected assets as inline `