Issue #3307972 by AlirezaK, rik.scholten: ModulesListForm.php assigns string value to ['attributes']['class']
mentioned in commit 7eba0743
mentioned in commit f6aa163c