RenderAllUiBlocks : new alert collapsible but not closable

This commit is contained in:
Pierre Goiffon
2021-03-08 16:12:16 +01:00
parent 9c8b2328db
commit 998c3208f6

View File

@@ -88,6 +88,9 @@ $oAlertNonClosable = AlertUIBlockFactory::MakeNeutral('Alert not closable, not c
->SetIsClosable(false)
->SetIsCollapsible(false);
$oPageContentLayout->AddMainBlock($oAlertNonClosable);
$oAlertCollapsibleNotClosable = AlertUIBlockFactory::MakeNeutral('Alert collapsible but nos closable', $sContent)
->SetIsClosable(false);
$oPageContentLayout->AddMainBlock($oAlertCollapsibleNotClosable);
$oAlertSaveCollapsibleState = AlertUIBlockFactory::MakeNeutral('Alert with collapsible state saving', $sContent)
->EnableSaveCollapsibleState('RenderAllUiBlocks-alert');
$oPageContentLayout->AddMainBlock($oAlertSaveCollapsibleState);