stable

Clone or download

Read-only

Extract "fieldset must be hidden" in a dedicated object

This is part of story #12188 hide fieldsets according to state This refactoring will ease the ability to add new checks (field required, field in field dependency). Change-Id: Ib4820e3c9cb46fb90856367fdd9fcbae3f8bbe2f

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Container/Fieldset/HiddenFieldsetChecker.php +58 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container_Fieldset.class.php +13 −12 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Container/Fieldset/HiddenFieldsetCheckerTest.php +81 −0 Go to diff View file