public static function getFormWithErrors($formClassName)
    {
        GeneralUtility::logDeprecatedFunction();

        return (isset(self::$formWithErrors[$formClassName]))
            ? self::$formWithErrors[$formClassName]
            : null;
    }
public static function getFormWithErrors($formClassName)
    {
        GeneralUtility::logDeprecatedFunction();

        return (isset(self::$formWithErrors[$formClassName]))
            ? self::$formWithErrors[$formClassName]
            : null;
    }
public static function getFormWithErrors ( $ formClassName ) { GeneralUtility :: logDeprecatedFunction ( ) ; return ( isset ( self :: $ formWithErrors [ $ formClassName ] ) ) ? self :: $ formWithErrors [ $ formClassName ] : null ; }
If a form has been submitted with errors, use this function to get it
back.
This is useful because an action is forwarded if the submitted argument
has errors.

@deprecated This method is deprecated, please try not to use it if you
can. It will be removed in FormZ v2, where you will have a
whole new way to get a validated form.

@param string $formClassName The class name of the form.
@return FormInterface|null
If a form has been submitted with errors use this function to get it back . This is useful because an action is forwarded if the submitted argument has errors .