[BUGFIX] Form localization depending on old class names
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Classes / Validation / RequiredValidator.php
index 58e9fdd..e16a740 100644 (file)
@@ -22,6 +22,13 @@ namespace TYPO3\CMS\Form\Validation;
 class RequiredValidator extends \TYPO3\CMS\Form\Validation\AbstractValidator {
 
        /**
+        * Constant for localisation
+        *
+        * @var string
+        */
+       const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_required';
+
+       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return bool