private function getExpectedConfigFieldTemplates(array $config) { foreach ($config['system']['ezdemo_frontend_group']['field_templates'] as &$block) { if (!isset($block['priority'])) { $block['priority'] = 0; } } return $config; }