eZ\Publish\Core\REST\Common\FieldTypeProcessor::preProcessValidatorConfigurationHash PHP Method

preProcessValidatorConfigurationHash() public method

This method is called by the REST input parsers to allow a field type to pre process the given $incomingValidatorConfigurationHash before it is handled by {@link eZ\Publish\SPI\FieldType\FieldType::validatorConfigurationFromHash()}. The $incomingValidatorConfigurationHash can be expected to conform to the rules that need to apply to hashes accepted by validatorConfigurationFromHash(). The return value of this method replaces the $incomingValidatorConfigurationHash.
See also: eZ\Publish\Core\REST\Common\Input\FieldTypeParser
public preProcessValidatorConfigurationHash ( mixed $incomingValidatorConfigurationHash ) : mixed
$incomingValidatorConfigurationHash mixed
return mixed Pre processed hash
    public function preProcessValidatorConfigurationHash($incomingValidatorConfigurationHash)
    {
        return $incomingValidatorConfigurationHash;
    }