public function validate($aInput, $aOldInput, $oFactory, $aSubmitInfo)
{
$_bVerified = true;
$_aErrors = array();
// An invalid value is found. Set a field error array and an admin notice and return the old values.
if (!$_bVerified) {
$oFactory->setFieldErrors($_aErrors);
$oFactory->setSettingNotice(__('There was something wrong with your input.', 'admin-page-framework-loader'));
return $aOldInput;
}
return $aInput;
}