Add config and controller to use the config

This commit is contained in:
Tim
2020-07-27 00:26:57 +02:00
parent a2c17d4be3
commit db970b4c69
6 changed files with 115 additions and 5 deletions

View File

@ -40,6 +40,7 @@ abstract class BaseController extends AbstractController
foreach ($configuration as $config) {
$name = $config['name'];
// Excluding the checkbox type from checking, because it will be null if not checked
if (null !== $result[$name] || CheckboxType::class == $config['type']) {
$param->set($name, $result[$name]);
}