public function getTranslationKeysForFieldValidation(Field $field, $validationName)
    {
        $result = [];

        if (true === $field->hasValidation($validationName)) {
            $key = $field->getName() . '-' . $validationName;

            $this->storeTranslationsForFieldValidation($field);

            $result = $this->translationKeysForFieldValidation[$key];
        }

        return $result;
    }
public function getTranslationKeysForFieldValidation(Field $field, $validationName)
    {
        $result = [];

        if (true === $field->hasValidation($validationName)) {
            $key = $field->getName() . '-' . $validationName;

            $this->storeTranslationsForFieldValidation($field);

            $result = $this->translationKeysForFieldValidation[$key];
        }

        return $result;
    }
public function getTranslationKeysForFieldValidation ( Field $ field , $ validationName ) { $ result = [ ] ; if ( true === $ field -> hasValidation ( $ validationName ) ) { $ key = $ field -> getName ( ) . '-' . $ validationName ; $ this -> storeTranslationsForFieldValidation ( $ field ) ; $ result = $ this -> translationKeysForFieldValidation [ $ key ] ; } return $ result ; }
Returns the keys which are bound to translations, for a given field
validation rule.

@param Field  $field
@param string $validationName
@return array
Returns the keys which are bound to translations for a given field validation rule .