public function injectTranslationsForFormFieldsValidation()
    {
        $formConfiguration = $this->getFormObject()->getConfiguration();

        foreach ($formConfiguration->getFields() as $field) {
            $this->storeTranslationsForFieldValidation($field);
        }

        return $this;
    }
public function injectTranslationsForFormFieldsValidation()
    {
        $formConfiguration = $this->getFormObject()->getConfiguration();

        foreach ($formConfiguration->getFields() as $field) {
            $this->storeTranslationsForFieldValidation($field);
        }

        return $this;
    }
public function injectTranslationsForFormFieldsValidation ( ) { $ formConfiguration = $ this -> getFormObject ( ) -> getConfiguration ( ) ; foreach ( $ formConfiguration -> getFields ( ) as $ field ) { $ this -> storeTranslationsForFieldValidation ( $ field ) ; } return $ this ; }
Will loop on each field of the given form, and get every translations for
the validation rules messages.

@return $this
Will loop on each field of the given form and get every translations for the validation rules messages .