function action_set_security_preset($eventData) { global $gLocale, $gPageStatus; $innomaticSecurity = new \Innomatic\Security\SecurityManager(); $innomaticSecurity->setPredefinedLevel($eventData['preset']); $gPageStatus = $gLocale->getStr('security_settings_set.status'); }