private function validateSettingName($name)
    {
        if (!isset($this->settingsSchema[$name])) {
            return new ValidationError(
                "Setting '%setting%' is unknown",
                null,
                [
                    '%setting%' => $name,
                ],
                "[$name]"
            );
        }

        return null;
    }
private function validateSettingName($name)
    {
        if (!isset($this->settingsSchema[$name])) {
            return new ValidationError(
                "Setting '%setting%' is unknown",
                null,
                [
                    '%setting%' => $name,
                ],
                "[$name]"
            );
        }

        return null;
    }
private function validateSettingName ( $ name ) { if ( ! isset ( $ this -> settingsSchema [ $ name ] ) ) { return new ValidationError ( "Setting '%setting%' is unknown" , null , [ '%setting%' => $ name , ] , "[$name]" ) ; } return null ; }
Validates the fieldSetting name.

@param string $name

@return \eZ\Publish\SPI\FieldType\ValidationError|null
Validates the fieldSetting name .